trimesh_mean_curvature

compas.geometry.trimesh_mean_curvature(M)[source]

Compute the discrete mean curvature of a triangle mesh.

Parameters

M (tuple[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[float] – The discrete mean curvature per vertex.

Examples

>>>