53 #ifndef MESHFUNCTIONS_HH 54 #define MESHFUNCTIONS_HH 83 template <
typename MeshT ,
typename VectorT >
85 typename MeshT::VertexHandle _vh,
86 std::vector< std::pair< VectorT , typename MeshT::VertexHandle > >& _boundary);
94 template <
typename MeshT ,
typename VectorT >
96 std::vector< std::pair<
VectorT ,
97 typename MeshT::VertexHandle > >& _boundary);
105 template <
typename MeshT ,
typename VectorT >
107 typename MeshT::VertexHandle _vh);
115 template <
typename MeshT >
117 const typename MeshT::FaceHandle& _fh1 ,
118 const typename MeshT::FaceHandle& _fh2 );
128 template <
typename MeshT ,
typename VectorT >
133 const typename MeshT::FaceHandle& _fh);
139 template <
typename MeshT >
148 template <
typename MeshT >
150 calc_angle_around(
const MeshT& _mesh ,
const typename MeshT::VertexHandle& _vh);
158 template<
typename MeshT >
166 template<
typename MeshT >
172 #if defined(INCLUDE_TEMPLATES) && !defined(MESHFUNCTIONS_C) 173 #define MESHFUNCTIONS_TEMPLATES 174 #include "MeshFunctionsT_impl.hh" 177 #endif // MESHFUNCTIONS_HH defined bool get_boundary(MeshT &_mesh, typename MeshT::VertexHandle _vh, std::vector< std::pair< VectorT, typename MeshT::VertexHandle > > &_boundary)
bool neighbour(const MeshT &_mesh, const typename MeshT::FaceHandle &_fh1, const typename MeshT::FaceHandle &_fh2)
double calc_area(const MeshT &_mesh)
void transformHandleVertices(ACG::Matrix4x4d _matrix, MeshT &_mesh)
void transformMesh(ACG::Matrix4x4d _matrix, MeshT &_mesh)
bool cut_face(const VectorT &_porigin, const VectorT &_pnormal, const MeshT &_mesh, const typename MeshT::FaceHandle &_fh)
void smooth_boundary(MeshT &_mesh, typename MeshT::VertexHandle _vh)
Namespace providing different Mesh editing functions.
double calc_angle_around(const MeshT &_mesh, const typename MeshT::VertexHandle &_vh)