Skip to main content

signed_area

Function signed_area 

Source
pub fn signed_area(path: &[Point]) -> f64
Available on crate feature geometry only.
Expand description

The signed area of a closed path by the shoelace formula: positive when it runs counter-clockwise.