53 #ifndef OPENMESH_DECIMATER_COLLAPSEINFOT_HH 54 #define OPENMESH_DECIMATER_COLLAPSEINFOT_HH 89 typename Mesh::HalfedgeHandle
v0v1;
90 typename Mesh::HalfedgeHandle
v1v0;
95 typename Mesh::FaceHandle
fl;
96 typename Mesh::FaceHandle
fr;
130 typename Mesh::HalfedgeHandle _heh) :
131 mesh(_mesh),
v0v1(_heh),
v1v0(_mesh.opposite_halfedge_handle(
v0v1)),
v0(
132 _mesh.to_vertex_handle(
v1v0)),
v1(_mesh.to_vertex_handle(
v0v1)),
p0(
133 _mesh.point(
v0)),
p1(_mesh.point(
v1)),
fl(_mesh.face_handle(
v0v1)),
fr(
134 _mesh.face_handle(
v1v0))
139 vlv1 = mesh.next_halfedge_handle(
v0v1);
140 v0vl = mesh.next_halfedge_handle(
vlv1);
141 vl = mesh.to_vertex_handle(
vlv1);
142 vlv1 = mesh.opposite_halfedge_handle(
vlv1);
143 v0vl = mesh.opposite_halfedge_handle(
v0vl);
148 vrv0 = mesh.next_halfedge_handle(
v1v0);
149 v1vr = mesh.next_halfedge_handle(
vrv0);
150 vr = mesh.to_vertex_handle(
vrv0);
151 vrv0 = mesh.opposite_halfedge_handle(
vrv0);
152 v1vr = mesh.opposite_halfedge_handle(
v1vr);
160 #endif // OPENMESH_DECIMATER_COLLAPSEINFOT_HH defined Mesh::Point p1
Positions of remaining vertex.
Mesh::HalfedgeHandle v0v1
Halfedge to be collapsed.
Mesh::FaceHandle fl
Left face.
Mesh::FaceHandle fr
Right face.
Mesh::VertexHandle vr
Right vertex.
Kernel::Point Point
Coordinate type.
Mesh::HalfedgeHandle v1vr
Mesh::VertexHandle vl
Left vertex.
Mesh::HalfedgeHandle v1v0
Reverse halfedge.
CollapseInfoT(Mesh &_mesh, typename Mesh::HalfedgeHandle _heh)
Mesh::VertexHandle v0
Vertex to be removed.
Mesh::VertexHandle v1
Remaining vertex.
Mesh::HalfedgeHandle vrv0
Mesh::HalfedgeHandle v0vl
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
Mesh::HalfedgeHandle vlv1
Mesh::Point p0
Position of removed vertex.