pub fn polygon_area_2d(points: &[[f64; 2]], indices: &[usize]) -> f64
Area enclosed by a polygon given by indices into points (shoelace formula; positive for counter-clockwise order).
indices
points