pub fn shoelace2_by(n: usize, at: impl Fn(usize) -> P2) -> f64Expand description
Twice the signed shoelace area of the closed ring at(0..n): positive for
counter-clockwise. No degenerate guard (n < 3 sums to zero or the
caller’s own NaN); polygon_area adds it.