PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwtriangle_is_clockwise()

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:433
int ptarray_isccw(const POINTARRAY *pa)
Definition: ptarray.c:1029
Here is the call graph for this function:
Here is the caller graph for this function: