PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int lwgeom_is_clockwise | ( | LWGEOM * | lwgeom | ) |
Check clockwise orientation on LWGEOM polygons.
Definition at line 64 of file lwgeom.c.
References COLLECTIONTYPE, LWCOLLECTION::geoms, LW_FALSE, LW_TRUE, lwpoly_is_clockwise(), lwtriangle_is_clockwise(), MULTIPOLYGONTYPE, LWCOLLECTION::ngeoms, POLYGONTYPE, TRIANGLETYPE, and LWGEOM::type.
Referenced by ST_IsPolygonCCW(), ST_IsPolygonCW(), and test_lwgeom_force_clockwise().