#include <poly_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 PolyMesh::BaseHandle |
| | BaseHandle (int _idx=-1) |
| | Constructor.
|
| |
| int | idx () const |
| | Return the index of the 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 |
| | Are two handles equal?
|
| |
| bool | operator!= (const BaseHandle &_rhs) const |
| | Are two handles different?
|
| |
| bool | operator< (const BaseHandle &_rhs) const |
| | Compare operator useful for sorting handles.
|
| |
This type represents a vertex (internally it is basically an index).
- See also
- Edge, HalfFace, Face, Cell
◆ 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: