PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ out_x3d3_test_option()

static void out_x3d3_test_option ( void  )
static

Definition at line 159 of file cu_out_x3d.c.

References do_x3d3_test(), and out_x3d_suite_setup().

Referenced by out_x3d_suite_setup().

160 {
161  /* 0 precision, flip coordinates*/
162  do_x3d3_test(
163  "POINT(3.1111111111111 1.1111111111111 2.11111111111111)",
164  "1 3 2",
165  NULL, 0, 1);
166 
167  /* geocoordinate long,lat*/
168  do_x3d3_test(
169  "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))",
170  "<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>",
171  NULL, 3, 2);
172 
173  /* geocoordinate lat long*/
174  do_x3d3_test(
175  "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))",
176  "<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>",
177  NULL, 3, 3);
178 
179 
180 }
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: