Skip to main content

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.

calc.barycenter1.calc.png
calc.barycenter1.plotter0.calc.png

Given a triangle, returns its barycenter.

calc.barycenter2.calc.png
calc.barycenter1.plotter0.calc.png

Given a polygon or polygonal, returns its barycenter.

calc.barycenter3.calc.png
calc.barycenter3.plotter0.calc.png