| QGIS API Documentation 3.99.0-Master (f78f5286a64)
    | 
Represents a half edge in a triangulation. More...
#include <HalfEdge.h>
| Public Member Functions | |
| HalfEdge ()=default | |
| Default constructor. Values for mDual, mNext, mPoint are set to -10 which means that they are undefined. | |
| HalfEdge (int dual, int next, int point, bool mbreak, bool forced) | |
| bool | getBreak () const | 
| Returns, whether the HalfEdge belongs to a break line or not. | |
| int | getDual () const | 
| Returns the number of the dual HalfEdge. | |
| bool | getForced () const | 
| Returns, whether the HalfEdge belongs to a constrained edge or not. | |
| int | getNext () const | 
| Returns the number of the next HalfEdge. | |
| int | getPoint () const | 
| Returns the number of the point at which this HalfEdge points. | |
| void | setBreak (bool b) | 
| Sets the break flag. | |
| 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. | |
| void | setPoint (int p) | 
| Sets the number of point at which this HalfEdge points. | |
| Protected Attributes | |
| bool | mBreak = false | 
| True, if the HalfEdge belongs to a break line, falseotherwise. | |
| int | mDual = -10 | 
| Number of the dual HalfEdge. | |
| bool | mForced = false | 
| True, if the HalfEdge belongs to a constrained edge, falseotherwise. | |
| int | mNext = -10 | 
| Number of the next HalfEdge. | |
| int | mPoint = -10 | 
| Number of the point at which this HalfEdge points. | |
Represents a half edge in a triangulation.
Definition at line 30 of file HalfEdge.h.
| 
 | default | 
Default constructor. Values for mDual, mNext, mPoint are set to -10 which means that they are undefined.
| 
 | inline | 
Definition at line 73 of file HalfEdge.h.
| 
 | inline | 
Returns, whether the HalfEdge belongs to a break line or not.
Definition at line 93 of file HalfEdge.h.
| 
 | inline | 
Returns the number of the dual HalfEdge.
Definition at line 78 of file HalfEdge.h.
| 
 | inline | 
Returns, whether the HalfEdge belongs to a constrained edge or not.
Definition at line 98 of file HalfEdge.h.
| 
 | inline | 
Returns the number of the next HalfEdge.
Definition at line 83 of file HalfEdge.h.
| 
 | inline | 
Returns the number of the point at which this HalfEdge points.
Definition at line 88 of file HalfEdge.h.
| 
 | inline | 
Sets the break flag.
Definition at line 118 of file HalfEdge.h.
| 
 | inline | 
Sets the number of the dual HalfEdge.
Definition at line 103 of file HalfEdge.h.
| 
 | inline | 
Sets the forced flag.
Definition at line 123 of file HalfEdge.h.
| 
 | inline | 
Sets the number of the next HalfEdge.
Definition at line 108 of file HalfEdge.h.
| 
 | inline | 
Sets the number of point at which this HalfEdge points.
Definition at line 113 of file HalfEdge.h.
| 
 | protected | 
True, if the HalfEdge belongs to a break line, false otherwise. 
Definition at line 40 of file HalfEdge.h.
| 
 | protected | 
Number of the dual HalfEdge.
Definition at line 34 of file HalfEdge.h.
| 
 | protected | 
True, if the HalfEdge belongs to a constrained edge, false otherwise. 
Definition at line 42 of file HalfEdge.h.
| 
 | protected | 
Number of the next HalfEdge.
Definition at line 36 of file HalfEdge.h.
| 
 | protected | 
Number of the point at which this HalfEdge points.
Definition at line 38 of file HalfEdge.h.