Developer Documentation
OpenMesh::SmartEdgeHandle Struct Reference
Inheritance diagram for OpenMesh::SmartEdgeHandle:
OpenMesh::SmartBaseHandle OpenMesh::EdgeHandle OpenMesh::SmartHandleStatusPredicates< SmartEdgeHandle > OpenMesh::SmartHandleBoundaryPredicate< SmartEdgeHandle > OpenMesh::BaseHandle

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. More...
 
SmartHalfedgeHandle h (unsigned int _i) const
 Shorthand for halfedge() More...
 
SmartHalfedgeHandle h0 () const
 Shorthand for halfedge(0) More...
 
SmartHalfedgeHandle h1 () const
 Shorthand for halfedge(1) More...
 
SmartVertexHandle vertex (unsigned int _i) const
 Returns one of the two incident vertices of the edge. More...
 
SmartVertexHandle v (unsigned int _i) const
 Shorthand for vertex() More...
 
SmartVertexHandle v0 () const
 Shorthand for vertex(0) More...
 
SmartVertexHandle v1 () const
 Shorthand for vertex(1) More...
 
PolyConnectivity::ConstEdgeVertexRange vertices () const
 Returns a range of vertices incident to the edge (PolyConnectivity::ev_range()) More...
 
PolyConnectivity::ConstEdgeHalfedgeRange halfedges () const
 Returns a range of halfedges of the edge (PolyConnectivity::eh_range()) More...
 
PolyConnectivity::ConstEdgeHalfedgeRange halfedges (HalfedgeHandle _heh) const
 Returns a range of halfedges of the edge (PolyConnectivity::eh_range()) More...
 
PolyConnectivity::ConstEdgeFaceRange faces () const
 Returns a range of faces incident to the edge (PolyConnectivity::ef_range()) More...
 
- Public Member Functions inherited from OpenMesh::SmartBaseHandle
 SmartBaseHandle (const PolyConnectivity *_mesh=nullptr)
 
const PolyConnectivitymesh () const
 Get the underlying mesh of this handle. More...
 
- 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. More...
 
bool is_valid () const
 The handle is valid iff the index is not negative. More...
 
void reset ()
 reset handle to be invalid More...
 
void invalidate ()
 reset handle to be invalid More...
 
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)
 
- Public Member Functions inherited from OpenMesh::SmartHandleStatusPredicates< SmartEdgeHandle >
bool feature () const
 Returns true iff the handle is marked as feature. More...
 
bool selected () const
 Returns true iff the handle is marked as selected. More...
 
bool tagged () const
 Returns true iff the handle is marked as tagged. More...
 
bool tagged2 () const
 Returns true iff the handle is marked as tagged2. More...
 
bool locked () const
 Returns true iff the handle is marked as locked. More...
 
bool hidden () const
 Returns true iff the handle is marked as hidden. More...
 
bool deleted () const
 Returns true iff the handle is marked as deleted. More...
 
- Public Member Functions inherited from OpenMesh::SmartHandleBoundaryPredicate< SmartEdgeHandle >
bool is_boundary () const
 Returns true iff the handle is boundary. More...
 

Detailed Description

Definition at line 196 of file SmartHandles.hh.

Constructor & Destructor Documentation

◆ SmartEdgeHandle()

OpenMesh::SmartEdgeHandle::SmartEdgeHandle ( int  _idx = -1,
const PolyConnectivity _mesh = nullptr 
)
inlineexplicit

Definition at line 198 of file SmartHandles.hh.

Member Function Documentation

◆ faces()

PolyConnectivity::ConstEdgeFaceRange OpenMesh::SmartEdgeHandle::faces ( ) const
inline

Returns a range of faces incident to the edge (PolyConnectivity::ef_range())

Definition at line 1029 of file PolyConnectivity_inline_impl.hh.

◆ h()

SmartHalfedgeHandle OpenMesh::SmartEdgeHandle::h ( unsigned int  _i = 0) const
inline

Shorthand for halfedge()

Definition at line 433 of file SmartHandles.hh.

◆ h0()

SmartHalfedgeHandle OpenMesh::SmartEdgeHandle::h0 ( ) const
inline

Shorthand for halfedge(0)

Definition at line 438 of file SmartHandles.hh.

◆ h1()

SmartHalfedgeHandle OpenMesh::SmartEdgeHandle::h1 ( ) const
inline

Shorthand for halfedge(1)

Definition at line 443 of file SmartHandles.hh.

◆ halfedge()

SmartHalfedgeHandle OpenMesh::SmartEdgeHandle::halfedge ( unsigned int  _i = 0) const
inline

Returns one of the two halfedges of the edge.

Definition at line 427 of file SmartHandles.hh.

◆ halfedges() [1/2]

PolyConnectivity::ConstEdgeHalfedgeRange OpenMesh::SmartEdgeHandle::halfedges ( ) const
inline

Returns a range of halfedges of the edge (PolyConnectivity::eh_range())

Definition at line 1025 of file PolyConnectivity_inline_impl.hh.

◆ halfedges() [2/2]

PolyConnectivity::ConstEdgeHalfedgeRange OpenMesh::SmartEdgeHandle::halfedges ( HalfedgeHandle  _heh) const
inline

Returns a range of halfedges of the edge (PolyConnectivity::eh_range())

Definition at line 1027 of file PolyConnectivity_inline_impl.hh.

◆ v()

SmartVertexHandle OpenMesh::SmartEdgeHandle::v ( unsigned int  _i) const
inline

Shorthand for vertex()

Definition at line 453 of file SmartHandles.hh.

◆ v0()

SmartVertexHandle OpenMesh::SmartEdgeHandle::v0 ( ) const
inline

Shorthand for vertex(0)

Definition at line 458 of file SmartHandles.hh.

◆ v1()

SmartVertexHandle OpenMesh::SmartEdgeHandle::v1 ( ) const
inline

Shorthand for vertex(1)

Definition at line 463 of file SmartHandles.hh.

◆ vertex()

SmartVertexHandle OpenMesh::SmartEdgeHandle::vertex ( unsigned int  _i) const
inline

Returns one of the two incident vertices of the edge.

Definition at line 448 of file SmartHandles.hh.

◆ vertices()

PolyConnectivity::ConstEdgeVertexRange OpenMesh::SmartEdgeHandle::vertices ( ) const
inline

Returns a range of vertices incident to the edge (PolyConnectivity::ev_range())

Definition at line 1023 of file PolyConnectivity_inline_impl.hh.


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