geos.GEOSGetInteriorRingN ⇒ number
⏏
Returns the Nth interior ring of a polygon geometry. Note: Returned object is a pointer to internal storage: it must NOT be destroyed directly.
Kind: Exported member
Returns: number
- - The interior ring geometry, or null if an error occurred or the index is out of range.
See: https://libgeos.org/doxygen/geos__c_8h.html
Param | Type | Description |
---|---|---|
g | number | The polygon geometry. |
n | number | The index of the interior ring, starting from 0. |
geos.GEOSGetInteriorRingN_r ⇒ number
⏏
Returns the Nth interior ring of a polygon geometry.
Kind: Exported member
Returns: number
- - The interior ring geometry, or null if an error occurred or the index is out of range.
See: https://libgeos.org/doxygen/geos__c_8h_source.html
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g | number | The polygon geometry. |
n | number | The index of the interior ring, starting from 0. |