geos.GEOSGetNumInteriorRings ⇒ number
⏏
Returns the number of interior rings in the polygon.
Kind: Exported member
Returns: number
- The number of interior rings in the polygon, or -1 on exception.
Param | Type | Description |
---|---|---|
g | number | A pointer to a GEOSGeometry object of type Polygon. |
geos.GEOSGetNumInteriorRings_r ⇒ number
⏏
Returns the number of interior rings in the polygon (thread-safe version).
Kind: Exported member
Returns: number
- The number of interior rings in the polygon, or -1 on exception.
Param | Type | Description |
---|---|---|
handle | number | A GEOS context handle created with initGEOS_r(). |
g | number | A pointer to a GEOSGeometry object of type Polygon. |