This type represents a vertex (internally it is basically an index).  
 More...
#include <graph.h>
 | 
|   | Vertex (int _idx=-1) | 
|   | Default constructor (with invalid index).  
  | 
|   | 
| std::ostream &  | operator<< (std::ostream &os) const | 
|   | Output operator.  
  | 
|   | 
  Public Member Functions inherited from Graph::BaseHandle | 
|   | BaseHandle (int _idx=-1) | 
|   | Constructor with index.  
  | 
|   | 
| 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 BaseHandle &_rhs) const | 
|   | Equality operator.  
  | 
|   | 
| bool  | operator!= (const BaseHandle &_rhs) const | 
|   | Inequality operator.  
  | 
|   | 
| bool  | operator< (const BaseHandle &_rhs) const | 
|   | Less than operator useful for sorting handles.  
  | 
|   | 
◆ Vertex()
Default constructor (with invalid index). 
- Parameters
 - 
  
    | _idx | The index of the vertex.  | 
  
   
 
 
◆ operator<<()
  
  
      
        
          | std::ostream & operator<<  | 
          ( | 
          std::ostream & |           os | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Output operator. 
- Parameters
 - 
  
  
 
- Returns
 - The output stream. 
 
 
 
The documentation for this struct was generated from the following file:
- G:/3_code/Easy3D/easy3d/core/graph.h