Skip to main content

multi_polygon_area

Function multi_polygon_area 

Source
pub fn multi_polygon_area<MPg>(
    mpg: &MPg,
) -> <ShoelaceMultiPolygonArea as AreaStrategy<MPg>>::Out
Expand description

Signed area of a MultiPolygon: sum of the signed areas of its member polygons.

Mirrors boost::geometry::area(multi_polygon) from boost/geometry/algorithms/area.hpp resolved through the dispatch::area<MultiGeometry, multi_polygon_tag> arm at algorithms/area.hpp:175-187.