m3sh.traits.
mean_curvature#
- mean_curvature(vertex, normal=None)#
Mean curvature estimate.
- Parameters:
- vertexVertex
Vertex of a triangle mesh.
- normalndarray, shape (3,), optional
Vertex normal, used to determine the sign of mean curvature.
- Returns:
- Hfloat
Mean curvature.
Notes
Absolute mean curvature can be obtained as
>>> 0.5 * norm(mean_curvature_vector(vertex))