[−][src]Function spatialite_sys::gaiaIsToxic
pub unsafe extern "C" fn gaiaIsToxic(geom: gaiaGeomCollPtr) -> c_int
Checks for toxic Geometry object
\param geom pointer to Geometry object
\return 0 if the Geometry is not toxic: otherwise any other different value.
\sa gaiaIsToxic_r, gaiaSanitize
\note a \b toxic Geometry is a Geometry containing severely malformed Polygons: i.e. containing less than 4 Points. \n Or containing severely malformed Linestrings: i.e. containing less than 2 Points. \n Attempting to pass any toxic Geometry to GEOS supported functions will easily cause a crash.\n not reentrant and thread unsafe.