Computation of a mesh's centroid has been moved to a new method MeshVertexData::centroid().