trimesh_principal_curvature

compas.geometry.trimesh_principal_curvature(M)[source]

Compute the principal curvature directions of a triangle mesh.

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.

Returns:
list[tuple[[float, float, float], [float, float]]]

The curvature directions per vertex.

Examples

>>>