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