OpenMesh
OpenMesh::SmartEdgeHandle Struct Reference
Inheritance diagram for OpenMesh::SmartEdgeHandle:
Collaboration diagram for OpenMesh::SmartEdgeHandle:

Public Member Functions

 SmartEdgeHandle (int _idx=-1, const PolyConnectivity *_mesh=nullptr)
 
SmartHalfedgeHandle halfedge (unsigned int _i) const
 Returns one of the two halfedges of the edge.
 
SmartHalfedgeHandle h (unsigned int _i) const
 Shorthand for halfedge()
 
SmartHalfedgeHandle h0 () const
 Shorthand for halfedge(0)
 
SmartHalfedgeHandle h1 () const
 Shorthand for halfedge(1)
 
SmartVertexHandle vertex (unsigned int _i) const
 Returns one of the two incident vertices of the edge.
 
SmartVertexHandle v (unsigned int _i) const
 Shorthand for vertex()
 
SmartVertexHandle v0 () const
 Shorthand for vertex(0)
 
SmartVertexHandle v1 () const
 Shorthand for vertex(1)
 
bool is_boundary () const
 Returns true iff the edge lies on the boundary (i.e. one of the halfedges is boundary)
 
- 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::EdgeHandle
 EdgeHandle (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)
 

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

Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .