PostGIS  2.2.7dev-r@@SVN_REVISION@@
Datum sfcgal_orientation ( PG_FUNCTION_ARGS  )

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

References POSTGIS2SFCGALGeometry(), and sfcgal_postgis_init().

212 {
213  GSERIALIZED *input;
214  sfcgal_geometry_t *geom;
215  int result;
216 
218 
219  input = PG_GETARG_GSERIALIZED_P(0);
220  geom = POSTGIS2SFCGALGeometry(input);
221 
222  result = sfcgal_geometry_orientation(geom);
223  sfcgal_geometry_delete(geom);
224 
225  PG_FREE_IF_COPY(input, 0);
226 
227  PG_RETURN_INT32(result);
228 }
sfcgal_geometry_t * POSTGIS2SFCGALGeometry(GSERIALIZED *pglwgeom)
void sfcgal_postgis_init(void)

Here is the call graph for this function: