A halfedge record in a DCEL data structure. Two halfedges with opposite directions always form an edge (a halfedge pair). The halfedges form together chains, defining the boundaries of connected components, such that all halfedges along a chain have the same incident face. Note that the chain the halfedge belongs to may form the outer boundary of a bounded face (an outer CCB) or the boundary of a hole inside a face (an inner CCB).
An edge is always associated with a curve, but the halfedge records only store a pointer to the associated curve, and the actual curve objects are stored elsewhere. Two opposite halfedges are always associated with the same curve.
| |
the corresponding DCEL halfedge type.
| |
| |
the corresponding DCEL face type.
| |
| |
the corresponding DCEL hole type.
| |
| |
the curve type associated with the edge.
|
| |
default constructor.
|
|
| |
assigns e with the contents of the other halfedge. |
All functions below also have const counterparts, returning non-mutable pointers or references:
ArrangementDcel
ArrangementDcelVertex
ArrangementDcelFace
ArrangementDcelHole