20 #include "qgis_analysis.h" 46 HalfEdge(
int dual,
int next,
int point,
bool mbreak,
bool forced );
55 bool getBreak()
const;
57 bool getForced()
const;
59 void setDual(
int d );
61 void setNext(
int n );
63 void setPoint(
int p );
65 void setBreak(
bool b );
67 void setForced(
bool f );
72 inline HalfEdge::HalfEdge(
int dual,
int next,
int point,
bool mbreak,
bool forced ): mDual( dual ), mNext( next ), mPoint( point ), mBreak( mbreak ), mForced( forced )
bool getBreak() const
Returns, whether the HalfEdge belongs to a break line or not.
HalfEdge()=default
Default constructor. Values for mDual, mNext, mPoint are set to -10 which means that they are undefin...
int getPoint() const
Returns the number of the point at which this HalfEdge points.
int getNext() const
Returns the number of the next HalfEdge.
int mPoint
Number of the point at which this HalfEdge points.
int mDual
Number of the dual HalfEdge.
bool getForced() const
Returns, whether the HalfEdge belongs to a constrained edge or not.
bool mForced
True, if the HalfEdge belongs to a constrained edge, false otherwise.
bool mBreak
True, if the HalfEdge belongs to a break line, false otherwise.
void setBreak(bool b)
Sets the break flag.
void setPoint(int p)
Sets the number of point at which this HalfEdge points.
int getDual() const
Returns the number of the dual HalfEdge.
int mNext
Number of the next HalfEdge.
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.