polygon_area

Function polygon_area 

Source
pub fn polygon_area(pts: &[P2]) -> f64
Expand description

Signed shoelace area: positive for a counter-clockwise ring, 0 below three vertices.