GitHub link
Polygon Mesh Processing Library
Vertex Class Reference

this type represents a vertex (internally it is basically an index) More...

#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 More...
 
IndexType idx () const
 Get the underlying index of this handle. More...
 
void reset ()
 reset handle to be invalid (index=PMP_MAX_INDEX.) More...
 
bool is_valid () const
 return whether the handle is valid, i.e., the index is not equal to PMP_MAX_INDEX. More...
 
bool operator== (const Handle &rhs) const
 are two handles equal? More...
 
bool operator!= (const Handle &rhs) const
 are two handles different? More...
 
bool operator< (const Handle &rhs) const
 compare operator useful for sorting handles More...
 

Detailed Description

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