Definition at line 1262 of file liblwgeom/lwgeom_geos.c.
1263{
1264 GEOSGeometry* g;
1265 int simple;
1266
1267
1269
1271
1273
1274 simple = GEOSisSimple(g);
1275 GEOSGeom_destroy(g);
1276
1277 if (simple == 2)
1278 {
1280 return -1;
1281 }
1282
1284}
char lwgeom_geos_errmsg[LWGEOM_GEOS_ERRMSG_MAXSIZE]
GEOSGeometry * LWGEOM2GEOS(const LWGEOM *lwgeom, uint8_t autofix)
void lwgeom_geos_error(const char *fmt,...)
#define LW_TRUE
Return types for functions with status returns.
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
static int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
References AUTOFIX, LW_FALSE, LW_TRUE, lwerror(), LWGEOM2GEOS(), lwgeom_geos_errmsg, lwgeom_geos_error(), lwgeom_is_empty(), and lwnotice().
Referenced by _lwt_AddEdge(), issimple(), lwt_AddIsoEdge(), and lwt_ChangeEdgeGeom().