Wildmeshing Toolkit
mesh_utils.hpp File Reference
#include <wmtk/Mesh.hpp>
#include <string>
Include dependency graph for mesh_utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 wmtk
 
 wmtk::mesh_utils
 

Functions

template<typename Mat >
attribute::MeshAttributeHandle wmtk::mesh_utils::set_matrix_attribute (const Mat &data, const std::string &name, const PrimitiveType &type, Mesh &mesh)
 
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 More...
 
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 More...
 
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 More...