The centroid of the mesh given as a numeric vector.
Arguments
mesh
a mesh given either as a list containing (at least) the two fields
vertices (numeric matrix with three columns) and faces (integer
matrix or list of integer vectors), otherwise as a rgl mesh (i.e. a
mesh3d object)