# Centroid

The centroid of a polygon is the point whose coordinates are the mean of the coordinates of the vertices. For a triangle, this is the point of intersection of the medians.

More generally, the centroid of any set of points has coordinates which are the mean of the coordinates of the points.