geos.GEOSisEmpty ⇒ number
⏏
Tests whether a geometry is empty.
Kind: Exported member
Returns: number
- 1 if the geometry is empty, 0 if it is not, or 2 on exception.
Param | Type | Description |
---|---|---|
g | number | The geometry to test. |
geos.GEOSisEmpty_r ⇒ number
⏏
Tests whether a geometry is empty with a GEOS context handle.
Kind: Exported member
Returns: number
- 1 if the geometry is empty, 0 if it is not, or 2 on exception.
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g | number | The geometry to test. |