geos.GEOSGetExteriorRing ⇒ number
⏏
Returns the exterior ring of a polygon geometry as a linear ring.
Kind: Exported member
Returns: number
- A pointer to a newly allocated GEOSGeometry object of type LinearRing, or NULL on exception. The caller is responsible for destroying it with GEOSGeom_destroy().
Param | Type | Description |
---|---|---|
g | number | A pointer to a GEOSGeometry object of type Polygon. |
geos.GEOSGetExteriorRing_r ⇒ number
⏏
Returns the exterior ring of a polygon geometry.
Kind: Exported member
Returns: number
- - The exterior ring geometry, or null if an error occurred.
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. |