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

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

References POSTGIS2SFCGALGeometry(), and sfcgal_postgis_init().

181  {
182  GSERIALIZED *input;
183  sfcgal_geometry_t *geom;
184  double result;
185 
187 
188  input = PG_GETARG_GSERIALIZED_P(0);
189  geom = POSTGIS2SFCGALGeometry(input);
190 
191  result = sfcgal_geometry_area_3d(geom);
192  sfcgal_geometry_delete(geom);
193 
194  PG_FREE_IF_COPY(input, 0);
195 
196  PG_RETURN_FLOAT8(result);
197 }
sfcgal_geometry_t * POSTGIS2SFCGALGeometry(GSERIALIZED *pglwgeom)
void sfcgal_postgis_init(void)

Here is the call graph for this function: