PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ ST_IsPolygonCCW()

Datum ST_IsPolygonCCW ( PG_FUNCTION_ARGS  )

Definition at line 887 of file lwgeom_functions_analytic.c.

888 {
889  GSERIALIZED* geom;
890 
891  if (PG_ARGISNULL(0))
892  PG_RETURN_NULL();
893 
894  geom = PG_GETARG_GSERIALIZED_P(0);
895  geom = PG_GETARG_GSERIALIZED_P(0);
897 }
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
Definition: gserialized.c:268
int lwgeom_has_orientation(const LWGEOM *lwgeom, int orientation)
Tests that geometry is oriented LW_CLOCKWISE or LW_COUNTERCLOCKWISE.
Definition: lwgeom.c:93
#define LW_COUNTERCLOCKWISE

References LW_COUNTERCLOCKWISE, lwgeom_from_gserialized(), and lwgeom_has_orientation().

Here is the call graph for this function: