VolMesh.cell_center
- VolMesh.cell_center(cell)[source]
Compute the location of the center of mass of a cell.
- Parameters
cell (int) – The identifier of the cell.
- Returns
list[float] – The coordinates of the center of mass.
Compute the location of the center of mass of a cell.
cell (int) – The identifier of the cell.
list[float] – The coordinates of the center of mass.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev