Developer Documentation
OpenMesh::SmartHalfedgeHandle Struct Reference
Inheritance diagram for OpenMesh::SmartHalfedgeHandle:
OpenMesh::SmartBaseHandle OpenMesh::HalfedgeHandle OpenMesh::BaseHandle

Public Member Functions

 SmartHalfedgeHandle (int _idx=-1, const PolyConnectivity *_mesh=nullptr)
 
SmartHalfedgeHandle next () const
 Returns next halfedge handle.
 
SmartHalfedgeHandle prev () const
 Returns previous halfedge handle.
 
SmartHalfedgeHandle opp () const
 Returns opposite halfedge handle.
 
SmartVertexHandle to () const
 Returns vertex pointed to by halfedge.
 
SmartVertexHandle from () const
 Returns vertex at start of halfedge.
 
SmartEdgeHandle edge () const
 Returns incident edge of halfedge.
 
SmartFaceHandle face () const
 Returns incident face of halfedge.
 
bool is_boundary () const
 Returns true iff the halfedge is on the boundary (i.e. it has no corresponding face)
 
- Public Member Functions inherited from OpenMesh::SmartBaseHandle
 SmartBaseHandle (const PolyConnectivity *_mesh=nullptr)
 
const PolyConnectivitymesh () const
 Get the underlying mesh of this handle.
 
- Public Member Functions inherited from OpenMesh::HalfedgeHandle
 HalfedgeHandle (int _idx=-1)
 
- Public Member Functions inherited from OpenMesh::BaseHandle
 BaseHandle (int _idx=-1)
 
int idx () const
 Get the underlying index of this handle.
 
bool is_valid () const
 The handle is valid iff the index is not negative.
 
void reset ()
 reset handle to be invalid
 
void invalidate ()
 reset handle to be invalid
 
bool operator== (const BaseHandle &_rhs) const
 
bool operator!= (const BaseHandle &_rhs) const
 
bool operator< (const BaseHandle &_rhs) const
 
void __increment ()
 
void __decrement ()
 
void __increment (int amount)
 
void __decrement (int amount)
 

Detailed Description

Definition at line 114 of file SmartHandles.hh.


The documentation for this struct was generated from the following file: