PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ ST_IsPolygonCW()

Datum ST_IsPolygonCW ( PG_FUNCTION_ARGS  )

Definition at line 869 of file lwgeom_functions_analytic.c.

870{
871 GSERIALIZED* geom;
872
873 if (PG_ARGISNULL(0))
874 PG_RETURN_NULL();
875
876 geom = PG_GETARG_GSERIALIZED_P(0);
878}
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
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_CLOCKWISE
Constants for orientation checking and forcing.

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

Here is the call graph for this function: