polygon_area

Function polygon_area 

Source
pub fn polygon_area(polygon: &[Point]) -> f32
Expand description

Compute the area of a polygon using the shoelace formula.