Stores a reference to a mesh corner and facet, and provides a halfedge-like API.
More...
#include <geogram/mesh/mesh_halfedges.h>
Stores a reference to a mesh corner and facet, and provides a halfedge-like API.
Definition at line 65 of file mesh_halfedges.h.
◆ Halfedge() [1/2]
| GEO::MeshHalfedges::Halfedge::Halfedge |
( |
| ) |
|
|
inline |
◆ Halfedge() [2/2]
Constructs a new Halfedge from a facet and corner index.
- Parameters
-
| [in] | f | the facet index |
| [in] | c | the corner index |
Definition at line 83 of file mesh_halfedges.h.
◆ clear()
| void GEO::MeshHalfedges::Halfedge::clear |
( |
| ) |
|
|
inline |
◆ is_nil()
| bool GEO::MeshHalfedges::Halfedge::is_nil |
( |
| ) |
const |
|
inline |
◆ operator!=()
| bool GEO::MeshHalfedges::Halfedge::operator!= |
( |
const Halfedge & |
rhs | ) |
const |
|
inline |
Tests whether this Halfedge is different from another one.
- Parameters
-
- Returns
- true if this Halfedge and
rhs refer to a different facet or corner, false otherwise.
Definition at line 120 of file mesh_halfedges.h.
◆ operator==()
| bool GEO::MeshHalfedges::Halfedge::operator== |
( |
const Halfedge & |
rhs | ) |
const |
|
inline |
Tests whether this Halfedge is the same as another one.
- Parameters
-
- Returns
- true if this Halfedge and
rhs refer to the same facet and corner, false otherwise.
Definition at line 110 of file mesh_halfedges.h.
◆ corner
| index_t GEO::MeshHalfedges::Halfedge::corner |
◆ facet
| index_t GEO::MeshHalfedges::Halfedge::facet |
◆ NO_CORNER
| constexpr index_t GEO::MeshHalfedges::Halfedge::NO_CORNER = NO_INDEX |
|
staticconstexpr |
◆ NO_FACET
| constexpr index_t GEO::MeshHalfedges::Halfedge::NO_FACET = NO_INDEX |
|
staticconstexpr |
The documentation for this struct was generated from the following file: