QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
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 )
void setNext(int n)
Sets the number of the next HalfEdge.
HalfEdge()=default
Default constructor. Values for mDual, mNext, mPoint are set to -10 which means that they are undefin...
int getNext() const
Returns the number of the next HalfEdge.
int mPoint
Number of the point at which this HalfEdge points.
int getPoint() const
Returns the number of the point at which this HalfEdge points.
bool mBreak
True, if the HalfEdge belongs to a break line, false otherwise.
int mDual
Number of the dual HalfEdge.
int mNext
Number of the next HalfEdge.
int getDual() const
Returns the number of the dual HalfEdge.
bool getForced() const
Returns, whether the HalfEdge belongs to a constrained edge or not.
void setPoint(int p)
Sets the number of point at which this HalfEdge points.
bool mForced
True, if the HalfEdge belongs to a constrained edge, false otherwise.
void setBreak(bool b)
Sets the break flag.
void setForced(bool f)
Sets the forced flag.
void setDual(int d)
Sets the number of the dual HalfEdge.
bool getBreak() const
Returns, whether the HalfEdge belongs to a break line or not.