DGtal  1.1.0
Public Member Functions | Data Fields
DGtal::HalfEdgeDataStructure::HalfEdge Struct Reference

#include <DGtal/topology/HalfEdgeDataStructure.h>

Public Member Functions

 HalfEdge ()
 Default constructor. The half-edge is invalid. More...
 

Data Fields

VertexIndex toVertex
 The end vertex of this half-edge as an index into the vertex array. More...
 
FaceIndex face
 Index into the face array. More...
 
EdgeIndex edge
 Index into the edges array. More...
 
Index opposite
 Index into the halfedges array. More...
 
Index next
 Index into the halfedges array. More...
 

Detailed Description

The half edge structure. Each half-edge points to some Vertex, is incident to one face, lies on one undirected edge, has an opposite half-edge lying on the same edge, and has a next half-edge along the face.

Definition at line 188 of file HalfEdgeDataStructure.h.

Constructor & Destructor Documentation

◆ HalfEdge()

DGtal::HalfEdgeDataStructure::HalfEdge::HalfEdge ( )
inline

Default constructor. The half-edge is invalid.

Definition at line 202 of file HalfEdgeDataStructure.h.

Field Documentation

◆ edge

EdgeIndex DGtal::HalfEdgeDataStructure::HalfEdge::edge

◆ face

FaceIndex DGtal::HalfEdgeDataStructure::HalfEdge::face

◆ next

Index DGtal::HalfEdgeDataStructure::HalfEdge::next

◆ opposite

Index DGtal::HalfEdgeDataStructure::HalfEdge::opposite

◆ toVertex

VertexIndex DGtal::HalfEdgeDataStructure::HalfEdge::toVertex

The documentation for this struct was generated from the following file:
DGtal::HalfEdgeDataStructure::HalfEdge::face
FaceIndex face
Index into the face array.
Definition: HalfEdgeDataStructure.h:193
DGtal::HalfEdgeDataStructure::HalfEdge::next
Index next
Index into the halfedges array.
Definition: HalfEdgeDataStructure.h:199
DGtal::HalfEdgeDataStructure::HalfEdge::edge
EdgeIndex edge
Index into the edges array.
Definition: HalfEdgeDataStructure.h:195
DGtal::HalfEdgeDataStructure::HalfEdge::toVertex
VertexIndex toVertex
The end vertex of this half-edge as an index into the vertex array.
Definition: HalfEdgeDataStructure.h:191
DGtal::HALF_EDGE_INVALID_INDEX
static std::size_t const HALF_EDGE_INVALID_INDEX
Definition: HalfEdgeDataStructure.h:57
DGtal::HalfEdgeDataStructure::HalfEdge::opposite
Index opposite
Index into the halfedges array.
Definition: HalfEdgeDataStructure.h:197