59 #ifndef OPENMESH_DECIMATER_COLLAPSEINFOT_HH
60 #define OPENMESH_DECIMATER_COLLAPSEINFOT_HH
91 CollapseInfoT(Mesh& _mesh,
typename Mesh::HalfedgeHandle _heh);
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::FaceHandle fr
Right face.
Definition: CollapseInfoT.hh:102
Stores information about a halfedge collapse.
Definition: CollapseInfoT.hh:80
Mesh::Point p0
Position of removed vertex.
Definition: CollapseInfoT.hh:99
Mesh::FaceHandle fl
Left face.
Definition: CollapseInfoT.hh:101
Mesh::HalfedgeHandle v1v0
Reverse halfedge.
Definition: CollapseInfoT.hh:96
Mesh::HalfedgeHandle v1vr
Outer remaining halfedge of diamond spanned by v0, v1, vl, and vr.
Definition: CollapseInfoT.hh:109
Mesh::VertexHandle v0
Vertex to be removed.
Definition: CollapseInfoT.hh:97
Mesh::VertexHandle vl
Left vertex.
Definition: CollapseInfoT.hh:103
Mesh::Point p1
Positions of remaining vertex.
Definition: CollapseInfoT.hh:100
Mesh::HalfedgeHandle v0vl
Outer remaining halfedge of diamond spanned by v0, v1, vl, and vr.
Definition: CollapseInfoT.hh:109
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64
Mesh::HalfedgeHandle v0v1
Halfedge to be collapsed.
Definition: CollapseInfoT.hh:95
Mesh::HalfedgeHandle vlv1
Outer remaining halfedge of diamond spanned by v0, v1, vl, and vr.
Definition: CollapseInfoT.hh:109
CollapseInfoT(Mesh &_mesh, typename Mesh::HalfedgeHandle _heh)
Initializing constructor.
Definition: CollapseInfoT.hh:135
Mesh::VertexHandle v1
Remaining vertex.
Definition: CollapseInfoT.hh:98
Mesh::HalfedgeHandle vrv0
Outer remaining halfedge of diamond spanned by v0, v1, vl, and vr.
Definition: CollapseInfoT.hh:109
Mesh::VertexHandle vr
Right vertex.
Definition: CollapseInfoT.hh:104