14#include <lagrange/NormalWeightingType.h>
15#include <lagrange/SurfaceMesh.h>
30template <
typename Scalar,
typename Index>
32 SurfaceMesh<Scalar, Index>& mesh,
NormalWeightingType
Weighting types for averaging corner normals around a vertex.
Definition: NormalWeightingType.h:27
@ CornerTriangleArea
Incident face normals are averaged weighted by area of the corner triangle.
nullptr_t, size_t, ptrdiff_t basic_ostream bad_weak_ptr extent, remove_extent, is_array,...
Definition: attribute_string_utils.h:21
Eigen::Matrix< Scalar, 3, 1 > compute_weighted_corner_normal(SurfaceMesh< Scalar, Index > &mesh, Index ci, NormalWeightingType weighting)
Compute weighted corner normal based on the weighting type.
Definition: compute_weighted_corner_normal.cpp:24