VolMesh.cell_centroid

VolMesh.cell_centroid(cell)[source]

Compute the point at the centroid of a cell.

Parameters:
cellint

The identifier of the cell.

Returns:
compas.geometry.Point

The coordinates of the centroid.

See also

cell_center()