Function ring_area

Source
pub fn ring_area(ring: &Ring) -> f64
Expand description

Absolute area of a ring.

Exposed because area monotonicity is the property callers most often want to assert about an offset, and re-deriving the shoelace formula per consumer invites sign-convention mistakes.