m3sh.traits.
mean_curvature_vectors#
- mean_curvature_vectors(mesh, weights=None)#
Mean curvature vectors.
- Parameters:
- meshMesh
A triangle mesh instance.
- weightsdict[Halfedge, float], optional
A dictionary with precomputed cotangent weights. When using precomputed weights, the weight assigned to boundary halfedges has to be zero!
- Returns:
- vectorsndarray, shape (n, 3)
Array of mean curvature vectors where n denotes the number of vertices of mesh (including vertices marked as deleted).
See also