Definition at line 21 of file cu_triangulate.c.
39 exp_wkt =
"GEOMETRYCOLLECTION(POLYGON((5 5,20 0,10 0,5 5)))";
40 if (strcmp(wkt, exp_wkt))
41 fprintf(stderr,
"\nExp: %s\nObt: %s\n", exp_wkt, wkt);
void cu_error_msg_reset()
#define ASSERT_STRING_EQUAL(o, e)
LWGEOM * lwgeom_delaunay_triangulation(const LWGEOM *geom, double tolerance, int32_t edgeOnly)
Take vertices of a geometry and build a delaunay triangulation on them.
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
char * lwgeom_to_ewkt(const LWGEOM *lwgeom)
Return an allocated string.
LWGEOM * lwgeom_normalize(const LWGEOM *geom)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
References ASSERT_STRING_EQUAL, cu_error_msg_reset(), LW_PARSER_CHECK_NONE, lwfree(), lwgeom_delaunay_triangulation(), lwgeom_free(), lwgeom_from_wkt(), lwgeom_normalize(), and lwgeom_to_ewkt().
Referenced by triangulate_suite_setup().