geos.GEOSisSimple ⇒ number
⏏
Tests whether a geometry is simple. A geometry is simple if it has no points of self-tangency, self-intersection or other anomalous points.
Kind: Exported member
Returns: number
- 1 if the geometry is simple, 0 if not, or -1 on error
Param | Type | Description |
---|---|---|
g | number | a pointer to a GEOSGeometry object |
geos.GEOSisSimple_r ⇒ number
⏏
Tests whether a geometry is simple (thread-safe version). A geometry is simple if it has no points of self-tangency, self-intersection or other anomalous points.
Kind: Exported member
Returns: number
- 1 if the geometry is simple, 0 if not, or -1 on error
Param | Type | Description |
---|---|---|
handle | number | a pointer to a GEOS context handle |
g | number | a pointer to a GEOSGeometry object |