Previous Up Next

14.4.6 Finding the barycenter of a set of points in space: barycenter

See Section ‍13.6.10 for barycenters of objects in the plane.

The barycenter command returns and draws the barycenter of a set of weighted points.

If the sum of the weights is zero, then this command returns an error.

Examples.


Previous Up Next