G+Smo  23.12.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsSurfMesh::Vertex Struct Reference

Detailed Description

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

See Also
Halfedge, Edge, Face
+ Inheritance diagram for gsSurfMesh::Vertex:
+ Collaboration diagram for gsSurfMesh::Vertex:

Public Member Functions

int idx () const
 Get the underlying index of this handle.
 
bool is_valid () const
 return whether the handle is valid, i.e., the index is not equal to -1.
 
bool operator!= (const Base_handle &_rhs) const
 are two handles different?
 
bool operator< (const Base_handle &_rhs) const
 compare operator useful for sorting handles
 
bool operator== (const Base_handle &_rhs) const
 are two handles equal?
 
void reset ()
 reset handle to be invalid (index=-1)
 
 Vertex (int _idx=-1)
 default constructor (with invalid index)