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
Param | Type | Description |
---|---|---|
g | GEOSGeometry | Input geometry |
exteriorCW | number | if 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
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g | GEOSGeometry | Input geometry |
exteriorCW | number | if 1, exterior rings will be clockwise and interior rings will be counter-clockwise |