Skip to main content

signed_area2

Function signed_area2 

Source
pub fn signed_area2(poly: &[P2]) -> f64
Expand description

Twice the signed area of the closed polygon poly (shoelace formula): positive where it runs counter-clockwise.