m3sh.traits.

gauss_curvatures#

gauss_curvatures(mesh, weights=None)#

Gaussian curvate estimate.

Point-wise Gaussian curvature estimate for all vertices of mesh.

Parameters:
meshMesh

A triangle mesh instance.

weightsdict[Halfedge, float], optional

A dictionary of precomputed cotangent weights.

Returns:
ndarray

An array of length n, where n denotes the number of vertices of mesh, holding Gaussian curvature estimates.