GitHub link
The Polygon Mesh Processing Library
Halfedge Class Reference

this type represents a halfedge (internally it is basically an index)

#include <pmp/SurfaceMesh.h>

Inherits Handle.

Additional Inherited Members

- Public Member Functions inherited from Handle
 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
 return whether the handle is valid, i.e., the index is not equal to PMP_MAX_INDEX.
bool operator== (const Handle &rhs) const
 are two handles equal?
bool operator!= (const Handle &rhs) const
 are two handles different?
bool operator< (const Handle &rhs) const
 compare operator useful for sorting handles