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

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

References POSTGIS2SFCGALGeometry(), and sfcgal_postgis_init().

170  {
171  GSERIALIZED *input;
172  sfcgal_geometry_t *geom;
173  double result;
174 
176 
177  input = PG_GETARG_GSERIALIZED_P(0);
178  geom = POSTGIS2SFCGALGeometry(input);
179 
180  result = sfcgal_geometry_area_3d(geom);
181  sfcgal_geometry_delete(geom);
182 
183  PG_FREE_IF_COPY(input, 0);
184 
185  PG_RETURN_FLOAT8(result);
186 }
sfcgal_geometry_t * POSTGIS2SFCGALGeometry(GSERIALIZED *pglwgeom)
void sfcgal_postgis_init(void)

Here is the call graph for this function: