trimesh_principal_curvature

compas.geometry.trimesh_principal_curvature(M)[source]

Compute the principal curvature directions of a triangle mesh.

Parameters

M ((list, list)) – A mesh represented by a list of vertices and a list of faces.

Returns

list – The curvature directions per vertex.

Examples

>>>