Barycenter
The barycenter or centroid of an object is the mean position of all points in all of the coordinate directions.
Syntax
barycenter(Point, ..., Point)
barycenter(Triangle)
barycenter(Polygon | Polygonal)
Description
Given a set of points describing a figure, returns its barycenter.
Given a triangle, returns its barycenter.
Given a polygon or polygonal, returns its barycenter.