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