Definition at line 1863 of file lwgeom.c.
1864{
1866
1874 {
1875 double area = 0.0;
1876 uint32_t i;
1878 for ( i = 0; i < col->
ngeoms; i++ )
1880 return area;
1881 }
1882 else
1883 return 0.0;
1884}
double lwtriangle_area(const LWTRIANGLE *triangle)
Find the area of the outer ring.
double lwpoly_area(const LWPOLY *poly)
Find the area of the outer ring - sum (area of inner rings).
double lwcurvepoly_area(const LWCURVEPOLY *curvepoly)
This should be rewritten to make use of the curve itself.
int lwgeom_is_collection(const LWGEOM *geom)
Determine whether a LWGEOM can contain sub-geometries or not.
double lwgeom_area(const LWGEOM *geom)
References CURVEPOLYTYPE, LWCOLLECTION::geoms, lwcurvepoly_area(), lwgeom_area(), lwgeom_is_collection(), lwpoly_area(), lwtriangle_area(), LWCOLLECTION::ngeoms, POLYGONTYPE, TRIANGLETYPE, and LWGEOM::type.
Referenced by lwgeom_area(), lwmpoly_to_points(), ST_Area(), test_gdal_polygonize(), test_lwpoly_construct_circle(), test_misc_area(), and test_raster_surface().