QGIS API Documentation  2.99.0-Master (bdf46d7)
Public Member Functions | Protected Attributes | List of all members
HalfEdge Class Reference

#include <HalfEdge.h>

Public Member Functions

 HalfEdge ()
 Default constructor. Values for mDual, mNext, mPoint are set to -10 which means that they are undefined. More...
 
 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. More...
 
int getDual () const
 Returns the number of the dual HalfEdge. More...
 
bool getForced () const
 Returns, whether the HalfEdge belongs to a constrained edge or not. More...
 
int getNext () const
 Returns the number of the next HalfEdge. More...
 
int getPoint () const
 Returns the number of the point at which this HalfEdge points. More...
 
void setBreak (bool b)
 Sets the break flag. More...
 
void setDual (int d)
 Sets the number of the dual HalfEdge. More...
 
void setForced (bool f)
 Sets the forced flag. More...
 
void setNext (int n)
 Sets the number of the next HalfEdge. More...
 
void setPoint (int p)
 Sets the number of point at which this HalfEdge points. More...
 

Protected Attributes

bool mBreak
 True, if the HalfEdge belongs to a break line, false otherwise. More...
 
int mDual
 Number of the dual HalfEdge. More...
 
bool mForced
 True, if the HalfEdge belongs to a constrained edge, false otherwise. More...
 
int mNext
 Number of the next HalfEdge. More...
 
int mPoint
 Number of the point at which this HalfEdge points. More...
 

Detailed Description

Definition at line 25 of file HalfEdge.h.

Constructor & Destructor Documentation

◆ HalfEdge() [1/2]

HalfEdge::HalfEdge ( )
inline

Default constructor. Values for mDual, mNext, mPoint are set to -10 which means that they are undefined.

Definition at line 66 of file HalfEdge.h.

◆ HalfEdge() [2/2]

HalfEdge::HalfEdge ( int  dual,
int  next,
int  point,
bool  mbreak,
bool  forced 
)
inline

Definition at line 71 of file HalfEdge.h.

Member Function Documentation

◆ getBreak()

bool HalfEdge::getBreak ( ) const
inline

Returns, whether the HalfEdge belongs to a break line or not.

Definition at line 91 of file HalfEdge.h.

◆ getDual()

int HalfEdge::getDual ( ) const
inline

Returns the number of the dual HalfEdge.

Definition at line 76 of file HalfEdge.h.

◆ getForced()

bool HalfEdge::getForced ( ) const
inline

Returns, whether the HalfEdge belongs to a constrained edge or not.

Definition at line 96 of file HalfEdge.h.

◆ getNext()

int HalfEdge::getNext ( ) const
inline

Returns the number of the next HalfEdge.

Definition at line 81 of file HalfEdge.h.

◆ getPoint()

int HalfEdge::getPoint ( ) const
inline

Returns the number of the point at which this HalfEdge points.

Definition at line 86 of file HalfEdge.h.

◆ setBreak()

void HalfEdge::setBreak ( bool  b)
inline

Sets the break flag.

Definition at line 116 of file HalfEdge.h.

◆ setDual()

void HalfEdge::setDual ( int  d)
inline

Sets the number of the dual HalfEdge.

Definition at line 101 of file HalfEdge.h.

◆ setForced()

void HalfEdge::setForced ( bool  f)
inline

Sets the forced flag.

Definition at line 121 of file HalfEdge.h.

◆ setNext()

void HalfEdge::setNext ( int  n)
inline

Sets the number of the next HalfEdge.

Definition at line 106 of file HalfEdge.h.

◆ setPoint()

void HalfEdge::setPoint ( int  p)
inline

Sets the number of point at which this HalfEdge points.

Definition at line 111 of file HalfEdge.h.

Member Data Documentation

◆ mBreak

bool HalfEdge::mBreak
protected

True, if the HalfEdge belongs to a break line, false otherwise.

Definition at line 35 of file HalfEdge.h.

◆ mDual

int HalfEdge::mDual
protected

Number of the dual HalfEdge.

Definition at line 29 of file HalfEdge.h.

◆ mForced

bool HalfEdge::mForced
protected

True, if the HalfEdge belongs to a constrained edge, false otherwise.

Definition at line 37 of file HalfEdge.h.

◆ mNext

int HalfEdge::mNext
protected

Number of the next HalfEdge.

Definition at line 31 of file HalfEdge.h.

◆ mPoint

int HalfEdge::mPoint
protected

Number of the point at which this HalfEdge points.

Definition at line 33 of file HalfEdge.h.


The documentation for this class was generated from the following file: