Skip to main content

centroid_point

Function centroid_point 

Source
pub fn centroid_point(point: &Point) -> Point
Expand description

Computes the centroid of a point (returns the point itself)

§Arguments

  • point - Input point

§Returns

The point itself as its own centroid