PostGIS 3.6.2dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ boundary_collection()

static void boundary_collection ( void  )
static

Definition at line 171 of file cu_boundary.c.

172{
174 "GEOMETRYCOLLECTION EMPTY",
175 "GEOMETRYCOLLECTION EMPTY"
176 );
177
178 /* See https://trac.osgeo.org/postgis/ticket/4956 */
180 "GEOMETRYCOLLECTION(POLYGON((0 0,0 10,10 10,10 0,0 0),(2 2,4 2,4 4,2 4,2 2)),POLYGON((2 2,2 4,4 4,4 2,2 2)))",
181 "MULTILINESTRING((0 0,0 10,10 10,10 0,0 0),(2 2,4 2,4 4,2 4,2 2),(2 2,2 4,4 4,4 2,2 2))"
182 );
183
185 "GEOMETRYCOLLECTION(TIN(((0 0,0 -1,-1 1,0 0)),((0 0,1 0,0 -1,0 0))),TIN(((10 10,10 20,20 20,10 10))))",
186 "MULTILINESTRING((0 0,0 -1,-1 1,0 0),(0 0,1 0,0 -1,0 0),(10 10,10 20,20 20,10 10))"
187 );
188
190 "GEOMETRYCOLLECTION(TRIANGLE((1 1, 0 0, -1 1, 1 1)))",
191 "LINESTRING(1 1, 0 0, -1 1, 1 1)"
192 );
193
195 "GEOMETRYCOLLECTION(GEOMETRYCOLLECTION(TRIANGLE((0 0,0 -1,-1 1,0 0)),TRIANGLE((0 0,1 0,0 -1,0 0))),MULTILINESTRING((0 0, 5 0, 10 0),(20 5, 20 6, 20 10)))",
196 "GEOMETRYCOLLECTION(MULTILINESTRING((0 0,0 -1,1 0,0 0),(0 0,-1 1,0 -1,0 0)),MULTIPOINT(20 10,20 5,10 0,0 0))"
197 );
198
200 "GEOMETRYCOLLECTION(GEOMETRYCOLLECTION(POINT(0 0)),POINT(1 1),MULTIPOINT(2 2,3 3))",
201 "GEOMETRYCOLLECTION EMPTY"
202 );
203}
#define BOUNDARY_TEST(wkt_in, wkt_exp)
Definition cu_boundary.c:20

References BOUNDARY_TEST.

Referenced by boundary_suite_setup().

Here is the caller graph for this function: