PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
int lwgeom_is_clockwise | ( | LWGEOM * | lwgeom | ) |
Ensure the outer ring is clockwise oriented and all inner rings are counter-clockwise.
Ensure the outer ring is clockwise oriented and all inner rings are counter-clockwise.
Definition at line 65 of file lwgeom.c.
References COLLECTIONTYPE, LWCOLLECTION::geoms, LW_FALSE, LW_TRUE, lwgeom_is_clockwise(), lwpoly_is_clockwise(), lwtriangle_is_clockwise(), MULTIPOLYGONTYPE, LWCOLLECTION::ngeoms, POLYGONTYPE, TRIANGLETYPE, and LWGEOM::type.
Referenced by lwgeom_is_clockwise(), ST_IsPolygonCCW(), ST_IsPolygonCW(), and test_lwgeom_force_clockwise().