59 #ifndef OPENMESH_DECIMATER_COLLAPSEINFOT_HH 60 #define OPENMESH_DECIMATER_COLLAPSEINFOT_HH 95 typename Mesh::HalfedgeHandle
v0v1;
96 typename Mesh::HalfedgeHandle
v1v0;
97 typename Mesh::VertexHandle
v0;
98 typename Mesh::VertexHandle
v1;
99 typename Mesh::Point
p0;
100 typename Mesh::Point
p1;
101 typename Mesh::FaceHandle
fl;
102 typename Mesh::FaceHandle
fr;
103 typename Mesh::VertexHandle
vl;
104 typename Mesh::VertexHandle
vr;
136 typename Mesh::HalfedgeHandle _heh) :
137 mesh(_mesh),
v0v1(_heh),
v1v0(_mesh.opposite_halfedge_handle(
v0v1)),
v0(
138 _mesh.to_vertex_handle(
v1v0)),
v1(_mesh.to_vertex_handle(
v0v1)),
p0(
139 _mesh.point(
v0)),
p1(_mesh.point(
v1)),
fl(_mesh.face_handle(
v0v1)),
fr(
140 _mesh.face_handle(
v1v0))
145 vlv1 = mesh.next_halfedge_handle(
v0v1);
146 v0vl = mesh.next_halfedge_handle(
vlv1);
147 vl = mesh.to_vertex_handle(
vlv1);
148 vlv1 = mesh.opposite_halfedge_handle(
vlv1);
149 v0vl = mesh.opposite_halfedge_handle(
v0vl);
154 vrv0 = mesh.next_halfedge_handle(
v1v0);
155 v1vr = mesh.next_halfedge_handle(
vrv0);
156 vr = mesh.to_vertex_handle(
vrv0);
157 vrv0 = mesh.opposite_halfedge_handle(
vrv0);
158 v1vr = mesh.opposite_halfedge_handle(
v1vr);
166 #endif // OPENMESH_DECIMATER_COLLAPSEINFOT_HH defined Mesh::VertexHandle v1
Remaining vertex.
Mesh::FaceHandle fl
Left face.
Mesh::FaceHandle fr
Right face.
Mesh::VertexHandle vr
Right vertex.
Mesh::Point p1
Positions of remaining vertex.
Mesh::Point p0
Position of removed vertex.
Mesh::HalfedgeHandle vrv0
CollapseInfoT(Mesh &_mesh, typename Mesh::HalfedgeHandle _heh)
Mesh::HalfedgeHandle vlv1
Mesh::HalfedgeHandle v0vl
Mesh::VertexHandle vl
Left vertex.
Mesh::HalfedgeHandle v0v1
Halfedge to be collapsed.
Mesh::VertexHandle v0
Vertex to be removed.
Mesh::HalfedgeHandle v1vr
Mesh::HalfedgeHandle v1v0
Reverse halfedge.