trimesh_mean_curvature

compas.geometry.trimesh_mean_curvature(M)[source]

Compute the discrete mean curvature of a triangle mesh.

Parameters

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

Returns

list – The discrete mean curvature per vertex.

Examples

>>>