QGIS API Documentation
2.2.0-Valmiera
|
#include <HalfEdge.h>
Public Member Functions | |
HalfEdge () | |
Default constructor. | |
HalfEdge (int dual, int next, int point, bool mbreak, bool forced) | |
~HalfEdge () | |
int | getDual () const |
Returns the number of the dual HalfEdge. | |
int | getNext () const |
Returns the number of the next HalfEdge. | |
int | getPoint () const |
Returns the number of the point at which this HalfEdge points. | |
bool | getBreak () const |
Returns, whether the HalfEdge belongs to a break line or not. | |
bool | getForced () const |
Returns, whether the HalfEdge belongs to a constrained edge or not. | |
void | setDual (int d) |
Sets the number of the dual 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. | |
void | setBreak (bool b) |
Sets the break flag. | |
void | setForced (bool f) |
Sets the forced flag. |
Protected Attributes | |
int | mDual |
Number of the dual HalfEdge. | |
int | mNext |
Number of the next HalfEdge. | |
int | mPoint |
Number of the point at which this HalfEdge points. | |
bool | mBreak |
True, if the HalfEdge belongs to a break line, false otherwise. | |
bool | mForced |
True, if the HalfEdge belongs to a constrained edge, false otherwise. |
Definition at line 20 of file HalfEdge.h.
|
inline |
Default constructor.
Values for mDual, mNext, mPoint are set to -10 which means that they are undefined
Definition at line 61 of file HalfEdge.h.
|
inline |
Definition at line 66 of file HalfEdge.h.
|
inline |
Definition at line 71 of file HalfEdge.h.
|
inline |
Returns, whether the HalfEdge belongs to a break line or not.
Definition at line 91 of file HalfEdge.h.
References mBreak.
|
inline |
Returns the number of the dual HalfEdge.
Definition at line 76 of file HalfEdge.h.
References mDual.
|
inline |
Returns, whether the HalfEdge belongs to a constrained edge or not.
Definition at line 96 of file HalfEdge.h.
References mForced.
|
inline |
Returns the number of the next HalfEdge.
Definition at line 81 of file HalfEdge.h.
References mNext.
|
inline |
Returns the number of the point at which this HalfEdge points.
Definition at line 86 of file HalfEdge.h.
References mPoint.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sets the number of point at which this HalfEdge points.
Definition at line 111 of file HalfEdge.h.
References mPoint.
|
protected |
True, if the HalfEdge belongs to a break line, false otherwise.
Definition at line 30 of file HalfEdge.h.
Referenced by getBreak(), and setBreak().
|
protected |
Number of the dual HalfEdge.
Definition at line 24 of file HalfEdge.h.
|
protected |
True, if the HalfEdge belongs to a constrained edge, false otherwise.
Definition at line 32 of file HalfEdge.h.
Referenced by getForced(), and setForced().
|
protected |
Number of the next HalfEdge.
Definition at line 26 of file HalfEdge.h.
|
protected |
Number of the point at which this HalfEdge points.
Definition at line 28 of file HalfEdge.h.
Referenced by getPoint(), and setPoint().