PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ test_lwgeom_voronoi_diagram_expected_empty()

static void test_lwgeom_voronoi_diagram_expected_empty ( void  )
static

Definition at line 98 of file cu_triangulate.c.

References assert_empty_diagram(), and triangulate_suite_setup().

Referenced by triangulate_suite_setup().

99 {
100 #if POSTGIS_GEOS_VERSION >= 35
101  assert_empty_diagram("POLYGON EMPTY", 0);
102  assert_empty_diagram("POINT (1 2)", 0);
103 
104  /* This one produces an empty diagram because our two unqiue points
105  * collapse onto one after considering the tolerance. */
106  assert_empty_diagram("MULTIPOINT (0 0, 0 0.00001)", 0.001);
107 #endif /* POSTGIS_GEOS_VERSION >= 35 */
108 }
static void assert_empty_diagram(char *wkt, double tolerance)
Here is the call graph for this function:
Here is the caller graph for this function: