Function centroid2d

Source
pub fn centroid2d(points: impl IntoIterator<Item = Vector2>) -> Vector2