|
PostGIS
3.7.0dev-r@@SVN_REVISION@@
|
|
static |
Force an orientation onto geometries made up of rings, so the rings circle in a particular direction, clockwise or counter-clockwise.
The orientation is one of LW_CLOCKWISE or LW_COUNTERCLOCKWISE. Non-polygonal geometries are ignored and returned untouched.
Definition at line 45 of file lwgeom.c.
References COLLECTIONTYPE, LWCOLLECTION::geoms, lwgeom_as_lwcollection(), lwgeom_as_lwpoly(), lwgeom_as_lwtriangle(), lwpoly_force_orientation(), lwtriangle_force_orientation(), MULTIPOLYGONTYPE, LWCOLLECTION::ngeoms, POLYGONTYPE, TRIANGLETYPE, and LWGEOM::type.
Referenced by lwgeom_force_clockwise(), and lwgeom_force_counterclockwise().

