Skip to content

geos.GEOSOrientPolygons ⇒ number

Enforce a ring orientation on all polygonal elements in the input geometry. Non-polygonal geometries will not be modified.

Kind: global property of geos
Returns: number - 0 on success or -1 on exception

ParamTypeDescription
gGEOSGeometryInput geometry
exteriorCWnumberif 1, exterior rings will be clockwise and interior rings will be counter-clockwise

geos.GEOSOrientPolygons_r ⇒ number

Enforce a ring orientation on all polygonal elements in the input geometry. Non-polygonal geometries will not be modified.

Kind: global property of geos
Returns: number - 0 on success or -1 on exception

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryInput geometry
exteriorCWnumberif 1, exterior rings will be clockwise and interior rings will be counter-clockwise