mesh_centroid

compas_cgal.measure.mesh_centroid(mesh)

Compute the centroid of a the volume of a closed triangle mesh.

Parameters:
meshcompas_cgal.types.VerticesFaces

The mesh.

Returns:
list

The centroid of the mesh.