PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ sfcgal_is_planar()

Datum sfcgal_is_planar ( PG_FUNCTION_ARGS  )

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

170 {
171  GSERIALIZED *input;
172  sfcgal_geometry_t *geom;
173  int result;
174 
176 
177  input = PG_GETARG_GSERIALIZED_P(0);
178  geom = POSTGIS2SFCGALGeometry(input);
179 
180  result = sfcgal_geometry_is_planar(geom);
181  sfcgal_geometry_delete(geom);
182 
183  PG_FREE_IF_COPY(input, 0);
184 
185  PG_RETURN_BOOL(result);
186 }
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: