pub fn oriented_contour_area<T>(points: &[Point<T>]) -> f64
where T: NumCast + Copy,
Expand description

Calculates the oriented area of the contour using the shoelace formula. The returned value may be negative depending on the contour orientation (clockwise or counter-clockwise).