pub fn centroid<const N: usize>( points: impl IntoIterator<Item = [f64; N]>, ) -> Option<[f64; N]>
The mean of points, summed in their order and then divided by their count, or None if there are no points.
points
None