pub fn area_term(a: [f64; 2], b: [f64; 2]) -> f64
One oriented shoelace term (twice the edge’s area contribution).