Function voronoi::polygon_centroid [] [src]

pub fn polygon_centroid(pts: &Vec<Point>) -> Point

Computes the centroid of a polygon.