Function area_polygon
Source pub fn area_polygon(polygon: &Polygon, method: AreaMethod) -> Result<f64>
Expand description
Computes the area of a polygon
§Arguments
polygon - Input polygon
method - Area calculation method
§Returns
Area value (always non-negative unless using SignedPlanar method)
§Errors
Returns error if polygon is invalid