|
Easy3D 2.6.1
|
This type represents an edge (internally it is basically an index). More...
#include <graph.h>
Public Member Functions | |
| Edge (int _idx=-1) | |
| Default constructor (with invalid index). | |
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. | |
This type represents an edge (internally it is basically an index).
|
inlineexplicit |
Default constructor (with invalid index).
| _idx | The index of the edge. |