Base class for all entity handles types. More...
#include <pmp/surface_mesh.h>
Inherited by Edge, Face, Halfedge, and Vertex.
Public Member Functions | |
Handle (IndexType idx=PMP_MAX_INDEX) | |
default constructor with invalid index | |
IndexType | idx () const |
Get the underlying index of this handle. | |
void | reset () |
reset handle to be invalid (index=PMP_MAX_INDEX.) | |
bool | is_valid () const |
auto | operator<=> (const Handle &rhs) const =default |
are two handles equal? | |
Base class for all entity handles types.
internally it is basically an index.
|
inline |