OpenMesh
|
Base class for all handle types. More...
#include <OpenMesh/Core/Mesh/Handles.hh>
Public Member Functions | |
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 equal to -1. | |
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) |
Base class for all handle types.