geos.GEOSGetNumCoordinates ⇒ number
⏏
Returns the number of coordinates in a GEOS geometry object.
Kind: Exported member
Returns: number
- The number of coordinates, or -1 on exception.
See: https://libgeos.org/doxygen/geos__c_8h.html#a7b4e0c2f9d3f1a6d4b9a9c1d5e0f3a2e
Param | Type | Description |
---|---|---|
g | number | The GEOS geometry object. |
geos.GEOSGetNumCoordinates_r ⇒ number
⏏
Returns the number of coordinates in a GEOS geometry object (thread-safe version).
Kind: Exported member
Returns: number
- The number of coordinates, or -1 on exception.
See: https://libgeos.org/doxygen/geos__c_8h.html#a7b4e0c2f9d3f1a6d4b9a9c1d5e0f3a2e
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g | number | The GEOS geometry object. |