trimesh_massmatrix
- compas.geometry.trimesh_massmatrix(M)[source]
Compute massmatrix on a triangle mesh using a scalarfield of data points assigned to its vertices.
- Parameters:
- Mtuple[sequence[[float, float, float] |
compas.geometry.Point
], sequence[[int, int, int]]] A mesh represented by a list of vertices and a list of faces.
- Mtuple[sequence[[float, float, float] |
- Returns:
- list[float]
The mass per vertex.
Examples
>>>