HalfEdge class

Constructors, destructors, conversion operators

HalfEdge() defaulted
Default constructor. Values for mDual, mNext, mPoint are set to -10 which means that they are undefined.

Public functions

auto getBreak() const -> bool
Returns, whether the HalfEdge belongs to a break line or not.
auto getDual() const -> int
Returns the number of the dual HalfEdge.
auto getForced() const -> bool
Returns, whether the HalfEdge belongs to a constrained edge or not.
auto getNext() const -> int
Returns the number of the next HalfEdge.
auto getPoint() const -> int
Returns the number of the point at which this HalfEdge points.
void setBreak(bool b)
Sets the break flag.
void setDual(int d)
Sets the number of the dual HalfEdge.
void setForced(bool f)
Sets the forced flag.
void setNext(int n)
Sets the number of the next HalfEdge.
void setPoint(int p)
Sets the number of point at which this HalfEdge points.

Protected variables

bool mBreak
True, if the HalfEdge belongs to a break line, false otherwise.
int mDual
Number of the dual HalfEdge.
bool mForced
True, if the HalfEdge belongs to a constrained edge, false otherwise.
int mNext
Number of the next HalfEdge.
int mPoint
Number of the point at which this HalfEdge points.