calculateCentroid

Calculates the centroid of a list of Vector2D. See the wikipedia article of Centroid.


Calculates the centroid of a list of Vector3D. See the wikipedia article of Centroid.