PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ do_test_filterm_single_geometries()

static void do_test_filterm_single_geometries ( void  )
static

Definition at line 37 of file cu_filterm.c.

38 {
39  /*Point*/
40  do_test_filterm("POINT(0 0 0 0)","POINT(0 0 0 0)", 0, 11);
41  do_test_filterm("POINT(0 0 0 0)","POINT EMPTY", 1, 11);
42  /*Line*/
43  do_test_filterm("LINESTRING(0 0 0 0,1 1 0 2,2 2 0 5,3 1 0 3)","LINESTRING(1 1 0 2,3 1 0 3)",2,3);
44  do_test_filterm("LINESTRING(0 0 0 0,1 1 0 2,2 2 0 5,3 1 0 3)","LINESTRING EMPTY",10, 11);
45  /*Polygon*/
46  do_test_filterm("POLYGON((0 0 0 0,1 1 0 2,5 5 0 5,3 1 0 3,0 0 0 0))","POLYGON((0 0 0 0,1 1 0 2,3 1 0 3,0 0 0 0))",0,4);
47  do_test_filterm("POLYGON((0 0 0 0,1 1 0 2,5 5 0 5,3 1 0 3,0 0 0 0))","POLYGON EMPTY",10, 11);
48  return;
49 }
static void do_test_filterm(char *geom_txt, char *expected, double min, double max)
Definition: cu_filterm.c:21

References do_test_filterm().

Referenced by filterm_suite_setup().

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