PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ sfcgal_is_planar()

Datum sfcgal_is_planar ( PG_FUNCTION_ARGS  )

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

203 {
204  GSERIALIZED *input;
205  sfcgal_geometry_t *geom;
206  int result;
207 
209 
210  input = PG_GETARG_GSERIALIZED_P(0);
211  geom = POSTGIS2SFCGALGeometry(input);
212 
213  result = sfcgal_geometry_is_planar(geom);
214  sfcgal_geometry_delete(geom);
215 
216  PG_FREE_IF_COPY(input, 0);
217 
218  PG_RETURN_BOOL(result);
219 }
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: