50 #ifndef OPENMESH_MESHFIXING_HH
51 #define OPENMESH_MESHFIXING_HH
81 const double epsilon_;
116 int neighbor(
unsigned int _f,
unsigned int _v0,
unsigned int _v1);
133 Face(
int _i0,
int _i1,
int _i2) :
147 typedef std::map<ACG::Vec3d, int, CompareVectors> VertexMap;
149 typedef VertexMap::iterator MapIter;
151 std::vector<Vertex> vertices_;
152 std::vector<Face> faces_;
166 #if defined(INCLUDE_TEMPLATES) && !defined(OPENMESH_MESHFIXING_CC)
167 #define OPENMESH_MESHFIXING_TEMPLATES
std::vector< unsigned int > faces
This vector will contain a list of all faces incident to the current vertex.
void fix_topology()
Fix the mesh topology.
int add_vertex(const ACG::Vec3d &_p)
void add_face(const ACG::Vec3d &_p0, const ACG::Vec3d &_p1, const ACG::Vec3d &_p2)
Add a face to the fixing data.
bool operator()(const ACG::Vec3d &_v0, const ACG::Vec3d &_v1) const
comparison operator
int neighbor(unsigned int _f, unsigned int _v0, unsigned int _v1)
CompareVectors(double _eps=FLT_MIN)
Constructor.