This type represents a vertex (internally it is basically an index).
More...
#include <surface_mesh.h>
|
| | Vertex (int _idx=-1) |
| | Default constructor (with invalid index).
|
| |
| std::ostream & | operator<< (std::ostream &os) const |
| | Output stream support for Vertex.
|
| |
Public Member Functions inherited from SurfaceMesh::BaseHandle |
| | BaseHandle (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 BaseHandle &_rhs) const |
| | Equality operator.
|
| |
| bool | operator!= (const BaseHandle &_rhs) const |
| | Inequality operator.
|
| |
| bool | operator< (const BaseHandle &_rhs) const |
| | Compare 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 stream support for Vertex.
- Parameters
-
- Returns
- The output stream with the vertex index.
The documentation for this struct was generated from the following file: