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

◆ test_grid_in_place()

static void test_grid_in_place ( void  )
static

Definition at line 177 of file liblwgeom/cunit/cu_misc.c.

178{
180 "LINESTRING(0 0,1 1,1 1,1 1)",
181 "LINESTRING(0 0,1 1)",
182 0.001
183 );
185 "POINT ZM (5.1423999999 5.1423999999 5.1423999999 5.1423999999)",
186 "POINT(5.1424 5.1424 5.1424 5.1424)",
187 0.0001
188 );
190 "MULTIPOLYGON(((0 0,10 0,10 10,0 10,0 0)))",
191 "MULTIPOLYGON EMPTY",
192 20
193 );
195 "MULTIPOLYGON(((0 0,10 0,10 10,0 10,0 0)))",
196 "MULTIPOLYGON(((0 0,10 0,10 10, 0 10,0 0)))",
197 1
198 );
200 "LINESTRING(0 0,1 1, 2 2, 3 3, 4 4, 5 5)",
201 "LINESTRING(0 0,2 2,4 4)",
202 2
203 );
205 "MULTIPOINT(0 0,1 1, 2 2, 3 3, 4 4, 5 5)",
206 /* This preserves current behaviour, but is probably not right */
207 "MULTIPOINT(0 0,0 0,2 2,4 4,4 4,4 4)",
208 2
209 );
211 "MULTIPOLYGON(((0 0,10 0,10 10,0 10,0 0),(4 4, 4 5, 5 5, 5 4, 4 4)))",
212 "MULTIPOLYGON(((0 0,10 0,10 10, 0 10,0 0)))",
213 2
214 );
216 "MULTIPOLYGON(((0 0,10 0,10 10,0 10,0 0),(4 4, 4 5, 5 5, 5 4, 4 4)))",
217 "MULTIPOLYGON EMPTY",
218 20
219 );
221 "POINT Z (5 5 5)",
222 "POINT(0 0 0)",
223 20
224 );
225}
static void do_grid_test(const char *wkt_in, const char *wkt_out, double size)

References do_grid_test().

Referenced by misc_suite_setup().

Here is the call graph for this function:
Here is the caller graph for this function: