Skip to content

geos.GEOSReverse ⇒ GEOSGeometry

For geometries with coordinate sequences, reverses the order of the sequences. Converts CCW rings to CW. Reverses direction of LineStrings.

Kind: global property of geos
Returns: GEOSGeometry - The reversed geometry Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
gGEOSGeometryThe input geometry

geos.GEOSReverse_r ⇒ GEOSGeometry

For geometries with coordinate sequences, reverses the order of the sequences. Converts CCW rings to CW. Reverses direction of LineStrings.

Kind: global property of geos
Returns: GEOSGeometry - The reversed geometry Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryThe input geometry