Wildmeshing Toolkit
Loading...
Searching...
No Matches
mesh_utils.cpp File Reference
Include dependency graph for mesh_utils.cpp:

Go to the source code of this file.

Namespaces

namespace  wmtk
 
namespace  wmtk::mesh_utils
 

Functions

Eigen::Vector3d wmtk::mesh_utils::compute_face_normal_area_weighted (const TriMesh &m, const attribute::Accessor< double > &pos, const Tuple &f)
 compute area vector of face
 
Eigen::Vector3d wmtk::mesh_utils::compute_face_normal (const TriMesh &m, const attribute::Accessor< double > &pos, const Tuple &f)
 compute the normalized face normal based on the vertex positions
 
Eigen::Vector3d wmtk::mesh_utils::compute_vertex_normal (const TriMesh &m, const attribute::Accessor< double > &pos, const Tuple &v)
 compute the normalized vertex normal from the incident area weighted face normals