geos.GEOSLength ⇒ number
⏏
Calculate the length of a geometry.
Kind: Exported member
Returns: number
- 1 on success, 0 on exception
Param | Type | Description |
---|---|---|
g | number | A pointer to a GEOSGeometry object |
length | number | A pointer to be filled in with length result |
geos.GEOSLength_r ⇒ number
⏏
Calculate the length of a geometry using a custom context handle.
Kind: Exported member
Returns: number
- 1 on success, 0 on exception
Param | Type | Description |
---|---|---|
handle | number | A GEOSContextHandle_t object |
g | number | A pointer to a GEOSGeometry object |
length | number | A pointer to be filled in with length result |