OpenGP  1.1
Open Geometry Processing Library
Public Member Functions | List of all members
OpenGP::SurfaceMesh::Base_handle Class Reference

#include <SurfaceMesh.h>

Inheritance diagram for OpenGP::SurfaceMesh::Base_handle:
OpenGP::SurfaceMesh::Edge OpenGP::SurfaceMesh::Face OpenGP::SurfaceMesh::Halfedge OpenGP::SurfaceMesh::Vertex

Public Member Functions

 Base_handle (int _idx=-1)
 constructor
 
int idx () const
 Get the underlying index of this handle.
 
void reset ()
 reset handle to be invalid (index=-1)
 
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 equal?
 
bool operator!= (const Base_handle &_rhs) const
 are two handles different?
 
bool operator< (const Base_handle &_rhs) const
 compare operator useful for sorting handles
 

Detailed Description

Base class for all topology types (internally it is basically an index)

See also
Vertex, Halfedge, Edge, Face

The documentation for this class was generated from the following file: