Graphite
Version 3
An experimental 3D geometry processing program
|
Stores a reference to a mesh corner and facet, and provides a halfedge-like API. More...
#include <geogram/mesh/mesh_halfedges.h>
Public Member Functions | |
Halfedge () | |
Constructs a new uninitialized Halfedge. | |
Halfedge (index_t f, index_t c) | |
Constructs a new Halfedge from a facet and corner index. More... | |
void | clear () |
Clears this Halfedge. | |
bool | is_nil () const |
Tests whether this Halfedge is initialized. More... | |
bool | operator== (const Halfedge &rhs) const |
Tests whether this Halfedge is the same as another one. More... | |
bool | operator!= (const Halfedge &rhs) const |
Tests whether this Halfedge is different from another one. More... | |
Public Attributes | |
index_t | facet |
index_t | corner |
Static Public Attributes | |
static const index_t | NO_FACET = index_t(-1) |
static const index_t | NO_CORNER = index_t(-1) |
Stores a reference to a mesh corner and facet, and provides a halfedge-like API.
Definition at line 65 of file mesh_halfedges.h.
Constructs a new Halfedge from a facet and corner index.
[in] | f | the facet index |
[in] | c | the corner index |
Definition at line 83 of file mesh_halfedges.h.
|
inline |
Tests whether this Halfedge is initialized.
Definition at line 100 of file mesh_halfedges.h.
|
inline |
Tests whether this Halfedge is different from another one.
[in] | rhs | the comparand |
rhs
refer to a different facet or corner, false otherwise. Definition at line 120 of file mesh_halfedges.h.
|
inline |
Tests whether this Halfedge is the same as another one.
[in] | rhs | the comparand |
rhs
refer to the same facet and corner, false otherwise. Definition at line 110 of file mesh_halfedges.h.