PostGIS  2.5.0dev-r@@SVN_REVISION@@
static void out_x3d3_test_option ( void  )
static

Definition at line 157 of file cu_out_x3d.c.

References do_x3d3_test().

Referenced by out_x3d_suite_setup().

158 {
159  /* 0 precision, flip coordinates*/
160  do_x3d3_test(
161  "POINT(3.1111111111111 1.1111111111111 2.11111111111111)",
162  "1 3 2",
163  NULL, 0, 1);
164 
165  /* geocoordinate long,lat*/
166  do_x3d3_test(
167  "SRID=4326;POLYGON((15 10 3,13.536 6.464 3,10 5 3,6.464 6.464 3,5 10 3,6.464 13.536 3,10 15 3,13.536 13.536 3,15 10 3))",
168  "<IndexedFaceSet convex='false' coordIndex='0 1 2 3 4 5 6 7'><GeoCoordinate geoSystem='\"GD\" \"WE\" \"longitude_first\"' point='15 10 3 13.536 6.464 3 10 5 3 6.464 6.464 3 5 10 3 6.464 13.536 3 10 15 3 13.536 13.536 3 ' /></IndexedFaceSet>",
169  NULL, 3, 2);
170 
171  /* geocoordinate lat long*/
172  do_x3d3_test(
173  "SRID=4326;POLYGON((15 10 3,13.536 6.464 3,10 5 3,6.464 6.464 3,5 10 3,6.464 13.536 3,10 15 3,13.536 13.536 3,15 10 3))",
174  "<IndexedFaceSet convex='false' coordIndex='0 1 2 3 4 5 6 7'><GeoCoordinate geoSystem='\"GD\" \"WE\" \"latitude_first\"' point='10 15 3 6.464 13.536 3 5 10 3 6.464 6.464 3 10 5 3 13.536 6.464 3 15 10 3 13.536 13.536 3 ' /></IndexedFaceSet>",
175  NULL, 3, 3);
176 }
static void do_x3d3_test(char *in, char *out, char *srs, int precision, int option)
Definition: cu_out_x3d.c:20

Here is the call graph for this function:

Here is the caller graph for this function: