53#ifndef OPENMESH_DECIMATER_COLLAPSEINFOT_HH
54#define OPENMESH_DECIMATER_COLLAPSEINFOT_HH
76 CollapseInfoT(Mesh& _mesh,
typename Mesh::HalfedgeHandle _heh);
80 typename Mesh::HalfedgeHandle
v0v1;
81 typename Mesh::HalfedgeHandle
v1v0;
94 typename Mesh::HalfedgeHandle
vlv1, v0vl, vrv0, v1vr;
128 typename Mesh::HalfedgeHandle _heh) :
129 mesh(_mesh), v0v1(_heh), v1v0(_mesh.opposite_halfedge_handle(v0v1)), v0(
130 _mesh.to_vertex_handle(v1v0)), v1(_mesh.to_vertex_handle(v0v1)), p0(
131 _mesh.point(v0)), p1(_mesh.point(v1)), fl(_mesh.face_handle(v0v1)), fr(
132 _mesh.face_handle(v1v0))
137 vlv1 = mesh.next_halfedge_handle(
v0v1);
138 v0vl = mesh.next_halfedge_handle(
vlv1);
139 vl = mesh.to_vertex_handle(
vlv1);
140 vlv1 = mesh.opposite_halfedge_handle(
vlv1);
141 v0vl = mesh.opposite_halfedge_handle(v0vl);
146 vrv0 = mesh.next_halfedge_handle(
v1v0);
147 v1vr = mesh.next_halfedge_handle(vrv0);
148 vr = mesh.to_vertex_handle(vrv0);
149 vrv0 = mesh.opposite_halfedge_handle(vrv0);
150 v1vr = mesh.opposite_halfedge_handle(v1vr);
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:59
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
Definition: PolyMeshT.hh:136
Kernel::FaceHandle FaceHandle
Scalar type.
Definition: PolyMeshT.hh:139
Kernel::Point Point
Coordinate type.
Definition: PolyMeshT.hh:112
Stores information about a halfedge collapse.
Definition: CollapseInfoT.hh:74
Mesh::HalfedgeHandle vlv1
Outer remaining halfedge of diamond spanned by v0, v1, vl, and vr.
Definition: CollapseInfoT.hh:94
Mesh::FaceHandle fr
Right face.
Definition: CollapseInfoT.hh:87
CollapseInfoT(Mesh &_mesh, typename Mesh::HalfedgeHandle _heh)
Initializing constructor.
Definition: CollapseInfoT.hh:127
Mesh::VertexHandle vl
Left vertex.
Definition: CollapseInfoT.hh:88
Mesh::Point p0
Position of removed vertex.
Definition: CollapseInfoT.hh:84
Mesh::HalfedgeHandle v0v1
Halfedge to be collapsed.
Definition: CollapseInfoT.hh:80
Mesh::HalfedgeHandle v1v0
Reverse halfedge.
Definition: CollapseInfoT.hh:81
Mesh::VertexHandle v1
Remaining vertex.
Definition: CollapseInfoT.hh:83
Mesh::Point p1
Positions of remaining vertex.
Definition: CollapseInfoT.hh:85
Mesh::VertexHandle v0
Vertex to be removed.
Definition: CollapseInfoT.hh:82
Mesh::FaceHandle fl
Left face.
Definition: CollapseInfoT.hh:86
Mesh::VertexHandle vr
Right vertex.
Definition: CollapseInfoT.hh:89