PostGIS  2.5.0dev-r@@SVN_REVISION@@
int lwtriangle_is_clockwise ( LWTRIANGLE triangle)

Definition at line 113 of file lwtriangle.c.

References LWTRIANGLE::points, and ptarray_isccw().

Referenced by lwgeom_is_clockwise().

114 {
115  return !ptarray_isccw(triangle->points);
116 }
POINTARRAY * points
Definition: liblwgeom.h:432
int ptarray_isccw(const POINTARRAY *pa)
Definition: ptarray.c:1021

Here is the call graph for this function:

Here is the caller graph for this function: