PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ sfcgal_area3D()

Datum sfcgal_area3D ( PG_FUNCTION_ARGS  )

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

150{
151 GSERIALIZED *input;
152 sfcgal_geometry_t *geom;
153 double result;
154
156
157 input = PG_GETARG_GSERIALIZED_P(0);
158 geom = POSTGIS2SFCGALGeometry(input);
159
160 result = sfcgal_geometry_area_3d(geom);
161 sfcgal_geometry_delete(geom);
162
163 PG_FREE_IF_COPY(input, 0);
164
165 PG_RETURN_FLOAT8(result);
166}
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: