DGtal  1.0.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 192 of file HalfEdgeDataStructure.h.

Constructor & Destructor Documentation

◆ HalfEdge()

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

Default constructor. The half-edge is invalid.

Definition at line 206 of file HalfEdgeDataStructure.h.

206  :
212  {}
Index next
Index into the halfedges array.
VertexIndex toVertex
The end vertex of this half-edge as an index into the vertex array.
EdgeIndex edge
Index into the edges array.
Index opposite
Index into the halfedges array.
FaceIndex face
Index into the face array.
static std::size_t const HALF_EDGE_INVALID_INDEX

Field Documentation

◆ edge

EdgeIndex DGtal::HalfEdgeDataStructure::HalfEdge::edge

Index into the edges array.

Definition at line 199 of file HalfEdgeDataStructure.h.

◆ 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 end vertex of this half-edge as an index into the vertex array.

Definition at line 195 of file HalfEdgeDataStructure.h.

Referenced by DGtal::HalfEdgeDataStructure::arcFromHalfEdgeIndex(), DGtal::HalfEdgeDataStructure::boundaryVertices(), and DGtal::HalfEdgeDataStructure::getNeighboringVertices().


The documentation for this struct was generated from the following file: