geos.GEOSReverse ⇒ number
⏏
Reverses the order of the coordinates in a geometry.
Kind: Exported member
Returns: number
- A pointer to a geometry with reversed coordinates, or NULL on exception.
See: https://libgeos.org/doxygen/classgeos_1_1geom_1_1Geometry.html
Param | Type | Description |
---|---|---|
g | number | The input geometry pointer, which must be a point, linestring, linearring or polygon. |
geos.GEOSReverse_r ⇒ number
⏏
Reverses the order of the coordinates in a geometry, using a GEOS context handle.
Kind: Exported member
Returns: number
- A pointer to a geometry with reversed coordinates, or NULL on exception.
See: https://libgeos.org/doxygen/geos__c_8h_source.html
Param | Type | Description |
---|---|---|
handle | number | The GEOS context pointer handle. |
g | number | The input geometry pointer, which must be a point, linestring, linearring or polygon. |