![]() |
OpenMesh
|
Stores information about a halfedge collapse. More...
#include <OpenMesh/Tools/Decimater/CollapseInfoT.hh>
Public Member Functions | |
CollapseInfoT (Mesh &_mesh, typename Mesh::HalfedgeHandle _heh) | |
Initializing constructor. More... | |
Stores information about a halfedge collapse.
The class stores information about a halfedge collapse. The most important information is v0v1
, v1v0
, v0
, v1
, vl
, vr
, which you can lookup in the following image:
|
inline |
Initializing constructor.
Local configuration of halfedge collapse to be stored in CollapseInfoT:
Given a mesh and a halfedge handle of the halfedge to be collapsed all important information of a halfedge collapse will be stored.
_mesh | Mesh source |
_heh | Halfedge to collapse. The direction of the halfedge defines the direction of the collapse, i.e. the from-vertex will be removed and the to-vertex remains. |
vl * / \
/ \ / fl \ v0 ---—> v1 \ fr / \ / \ /
_mesh | Reference to mesh |
_heh | The halfedge (v0 -> v1) defining the collapse |