PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ sfcgal_orientation()

Datum sfcgal_orientation ( PG_FUNCTION_ARGS  )

Definition at line 189 of file postgis/lwgeom_sfcgal.c.

190 {
191  GSERIALIZED *input;
192  sfcgal_geometry_t *geom;
193  int result;
194 
196 
197  input = PG_GETARG_GSERIALIZED_P(0);
198  geom = POSTGIS2SFCGALGeometry(input);
199 
200  result = sfcgal_geometry_orientation(geom);
201  sfcgal_geometry_delete(geom);
202 
203  PG_FREE_IF_COPY(input, 0);
204 
205  PG_RETURN_INT32(result);
206 }
sfcgal_geometry_t * POSTGIS2SFCGALGeometry(GSERIALIZED *pglwgeom)
void sfcgal_postgis_init(void)

References POSTGIS2SFCGALGeometry(), and sfcgal_postgis_init().

Here is the call graph for this function: