geos.GEOSNearestPoints ⇒ string
⏏
Compute the nearest points between two geometries.
Kind: Exported member
Returns: string
- A JSON string representing a GEOSGeometry object containing two points, or null on exception
Param | Type | Description |
---|---|---|
g1 | string | A JSON string representing a GEOSGeometry object |
g2 | string | A JSON string representing a GEOSGeometry object |
geos.GEOSNearestPoints_r ⇒ string
⏏
Returns a GEOSCoordSequence of the nearest points between two geometries.
Kind: Exported member
Returns: string
- A WKT string representing the GEOSCoordSequence of the nearest points.
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g1 | string | The first geometry as a WKT string. |
g2 | string | The second geometry as a WKT string. |