PostGIS  2.5.0beta2dev-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:435
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: