trimesh_principal_curvature
- compas.geometry.trimesh_principal_curvature(M)[source]
Compute the principal curvature directions of a triangle mesh.
- Parameters
M (tuple[sequence[[float, float, float] |
Point
], sequence[[int, int, int]]]) – A mesh represented by a list of vertices and a list of faces.- Returns
list[tuple[[float, float, float], [float, float]]] – The curvature directions per vertex.
Examples
>>>