PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
void lwgeom_force_clockwise | ( | LWGEOM * | lwgeom | ) |
Force Right-hand-rule on LWGEOM polygons.
Ensure the outer ring is clockwise oriented and all inner rings are counter-clockwise.
Definition at line 36 of file lwgeom.c.
References COLLECTIONTYPE, LWCOLLECTION::geoms, lwpoly_force_clockwise(), lwtriangle_force_clockwise(), MULTIPOLYGONTYPE, LWCOLLECTION::ngeoms, POLYGONTYPE, TRIANGLETYPE, and LWGEOM::type.
Referenced by LWGEOM_force_clockwise_poly(), mvt_geom(), and test_lwgeom_force_clockwise().