m3sh.traits.
mean_curvature_vector#
- mean_curvature_vector(vertex)#
Mean curvature vector.
\[\mathbf{H}_i = \sum_{j \sim i} (\cot \alpha_{ij} + \cot \beta_{ij}) (\mathbf{v}_i - \mathbf{v}_j) / \operatorname{area} \mathbf{v}_i\]is the gradient of surface area (not true because of divsion by local area term).
- Parameters:
- vertexVertex
Vertex of a triangle mesh.
- Returns:
- mcvndarray
The mean curvature vector assigned to vertex. For deleted vertices this array holds
nanentries.