Developer Documentation
MeshFunctions.hh File Reference

Functions for modifying a Mesh. More...

#include <vector>

Go to the source code of this file.

Namespaces

 MeshFunctions
 Namespace providing different Mesh editing functions.
 

Functions

template<typename MeshT , typename VectorT >
bool MeshFunctions::get_boundary (MeshT &_mesh, typename MeshT::VertexHandle _vh, std::vector< std::pair< VectorT, typename MeshT::VertexHandle > > &_boundary)
 
template<typename MeshT , typename VectorT >
bool MeshFunctions::get_boundary (MeshT &_mesh, std::vector< std::pair< VectorT, typename MeshT::VertexHandle > > &_boundary)
 
template<typename MeshT , typename VectorT >
void MeshFunctions::smooth_boundary (MeshT &_mesh, typename MeshT::VertexHandle _vh)
 
template<typename MeshT >
bool MeshFunctions::neighbour (const MeshT &_mesh, const typename MeshT::FaceHandle &_fh1, const typename MeshT::FaceHandle &_fh2)
 
template<typename MeshT , typename VectorT >
bool MeshFunctions::cut_face (const VectorT &_porigin, const VectorT &_pnormal, const MeshT &_mesh, const typename MeshT::FaceHandle &_fh)
 
template<typename MeshT >
double MeshFunctions::calc_area (const MeshT &_mesh)
 
template<typename MeshT >
double MeshFunctions::calc_angle_around (const MeshT &_mesh, const typename MeshT::VertexHandle &_vh)
 
template<typename MeshT >
void MeshFunctions::transformMesh (ACG::Matrix4x4d _matrix, MeshT &_mesh)
 
template<typename MeshT >
void MeshFunctions::transformHandleVertices (ACG::Matrix4x4d _matrix, MeshT &_mesh)
 

Detailed Description

Functions for modifying a Mesh.

General file with template functions doing modifications on a given Mesh (e.g smooth, reposition,... )

Definition in file MeshFunctions.hh.