geos.GEOSPointOnSurface ⇒ number
⏏
Computes a point that lies on the surface of a geometry.
Kind: Exported member
Returns: number
- A pointer to a GEOSGeometry object representing a point on the surface of g, or null if an error occurs.
Param | Type | Description |
---|---|---|
g | number | A pointer to a GEOSGeometry object. |
geos.GEOSPointOnSurface_r ⇒ number
⏏
Computes a point that lies on the surface of a geometry, using a thread-safe context handle.
Kind: Exported member
Returns: number
- A pointer to a GEOSGeometry object representing a point on the surface of g, or null if an error occurs.
Param | Type | Description |
---|---|---|
handle | number | A pointer to a GEOSContextHandle_t object. |
g | number | A pointer to a GEOSGeometry object. |