1277 CU_ASSERT_EQUAL(l, NULL);
1284 CU_ASSERT_EQUAL(l, NULL);
1309 "(0 0, 100 0, 100 100, 0 100, 0 0),"
1310 "(1 1, 1 5, 5 5, 5 1, 1 1),"
1311 "(20 20, 20 40, 40 40, 40 20, 20 20)"
1316 ASSERT_STRING_EQUAL(ewkt,
"POLYGON((0 0,100 0,100 100,0 100,0 0),(20 20,20 40,40 40,40 20,20 20))");
1324 "(0 0, 100 0, 100 100, 0 100, 0 0),"
1325 "(20 20, 20 40, 40 40, 40 20, 20 20),"
1326 "(1 1, 1 5, 5 5, 5 1, 1 1)"
1331 ASSERT_STRING_EQUAL(ewkt,
"POLYGON((0 0,100 0,100 100,0 100,0 0),(20 20,20 40,40 40,40 20,20 20))");
1338 "(0 0, 100 0, 100 100, 0 100, 0 0),"
1339 "(20 20, 20 40, 40 40, 40 20, 20 20),"
1340 "(1 1, 1 5, 5 5, 5 1, 1 1)"
1344 CU_ASSERT_EQUAL(l, NULL);
#define ASSERT_STRING_EQUAL(o, e)
LWGEOM * lwgeom_simplify(const LWGEOM *igeom, double dist, int preserve_collapsed)
Simplification.
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
char * lwgeom_to_ewkt(const LWGEOM *lwgeom)
Return an alloced string.
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
#define LW_TRUE
Return types for functions with status returns.