PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ sfcgal_orientation()

Datum sfcgal_orientation ( PG_FUNCTION_ARGS  )

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

224 {
225  GSERIALIZED *input;
226  sfcgal_geometry_t *geom;
227  int result;
228 
230 
231  input = PG_GETARG_GSERIALIZED_P(0);
232  geom = POSTGIS2SFCGALGeometry(input);
233 
234  result = sfcgal_geometry_orientation(geom);
235  sfcgal_geometry_delete(geom);
236 
237  PG_FREE_IF_COPY(input, 0);
238 
239  PG_RETURN_INT32(result);
240 }
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: