geos.GEOSNearestPoints ⇒ GEOSCoordSequence
⏏
The closest points of the two geometries. The first point comes from g1 geometry and the second point comes from g2.
Kind: global property of geos
Returns: GEOSCoordSequence
- A coordinate sequence with the two points, or NULL on exception. Caller must free with GEOSCoordSeq_destroy().
Param | Type | Description |
---|---|---|
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |
geos.GEOSNearestPoints_r ⇒ GEOSCoordSequence
⏏
The closest points of the two geometries. The first point comes from g1 geometry and the second point comes from g2.
Kind: global property of geos
Returns: GEOSCoordSequence
- A coordinate sequence with the two points, or NULL on exception. Caller must free with GEOSCoordSeq_destroy().
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |