Skip to main content

polygon_centroid

Function polygon_centroid 

Source
pub fn polygon_centroid(poly: &[Point2]) -> Point2
Expand description

Centroid of a simple polygon.