QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
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 );
73 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.