|
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. | |
| void | clear () |
| Clears this Halfedge. | |
| bool | is_nil () const |
| Tests whether this Halfedge is initialized. | |
| bool | operator== (const Halfedge &rhs) const |
| Tests whether this Halfedge is the same as another one. | |
| bool | operator!= (const Halfedge &rhs) const |
| Tests whether this Halfedge is different from another one. | |
Public Attributes | |
| index_t | facet |
| index_t | corner |
Static Public Attributes | |
| static constexpr index_t | NO_FACET = index_t(-1) |
| static constexpr 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.
|
inline |
Constructs a new uninitialized Halfedge.
Definition at line 73 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 |
Clears this Halfedge.
Definition at line 91 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.
| index_t GEO::MeshHalfedges::Halfedge::corner |
Definition at line 125 of file mesh_halfedges.h.
| index_t GEO::MeshHalfedges::Halfedge::facet |
Definition at line 124 of file mesh_halfedges.h.
Definition at line 68 of file mesh_halfedges.h.
Definition at line 67 of file mesh_halfedges.h.