Developer Documentation
VoronoiAreaTriMeshT< MeshT > Class Template Reference

Implementation of Voronoi area computation as described in "Discrete Differential-Geometry Operators for Triangulated 2-Manifolds" by M. Meyer et al. More...

#include <MeshTools/VoronoiAreaTriMeshT.hpp>

Public Member Functions

 VoronoiAreaTriMeshT (const MeshT &_mesh, bool _obtuse_handling=true)
 
const OpenMesh::EPropHandleT< typename MeshT::Scalar > & cotan_weight_prop () const
 
MeshT::Scalar get_voronoi_area (const typename MeshT::VertexHandle &_vh) const
 

Private Member Functions

MeshT::Scalar area (const typename MeshT::FaceHandle &_fh) const
 
MeshT::Scalar voronoi_area (const typename MeshT::HalfedgeHandle &_heh) const
 
void tag_obtuse_triangles () const
 
void compute_cotan_weights () const
 
MeshT::Scalar cotan_weight (const typename MeshT::HalfedgeHandle &_he) const
 
bool is_obtuse (const typename MeshT::FaceHandle &_fh) const
 

Private Attributes

const MeshT & mesh_
 
const bool obtuse_handling_
 
OpenMesh::FPropHandleT< bool > obtuse_tag_
 
OpenMesh::EPropHandleT< typename MeshT::Scalar > cotan_weights_
 

Detailed Description

template<class MeshT>
class VoronoiAreaTriMeshT< MeshT >

Implementation of Voronoi area computation as described in "Discrete Differential-Geometry Operators for Triangulated 2-Manifolds" by M. Meyer et al.

Definition at line 20 of file VoronoiAreaTriMeshT.hpp.


The documentation for this class was generated from the following file: