geos.GEOSSnap ⇒ number
⏏
Snaps two geometries together with a given tolerance.
Kind: Exported member
Returns: number
- A pointer to a new snapped geometry, or NULL on exception.
See: https://libgeos.org/doxygen/geos__c_8h.html
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g1 | number | A pointer to the first geometry to snap. |
g2 | number | A pointer to the second geometry to snap. |
tolerance | number | The snapping tolerance to use, in same units as input geometries. |
geos.GEOSSnap_r ⇒ number
⏏
Snaps two geometries together with a given tolerance using a GEOS context handle.
Kind: Exported member
Returns: number
- A pointer to a new snapped geometry, or NULL on exception.
See: https://libgeos.org/doxygen/geos__c_8h.html
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g1 | number | A pointer to the first geometry to snap. |
g2 | number | A pointer to the second geometry to snap. |
tolerance | number | The snapping tolerance to use, in same units as input geometries. |