QGIS API Documentation 3.41.0-Master (3c143d501a8)
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
HalfEdge Class Reference

HalfEdge. 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, false otherwise.
 
int mDual = -10
 Number of the dual HalfEdge.
 
bool mForced = false
 True, if the HalfEdge belongs to a constrained edge, false otherwise.
 
int mNext = -10
 Number of the next HalfEdge.
 
int mPoint = -10
 Number of the point at which this HalfEdge points.
 

Detailed Description

HalfEdge.

Note
Not available in Python bindings.

Definition at line 30 of file HalfEdge.h.

Constructor & Destructor Documentation

◆ HalfEdge() [1/2]

HalfEdge::HalfEdge ( )
default

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

◆ HalfEdge() [2/2]

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

Definition at line 73 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 93 of file HalfEdge.h.

◆ getDual()

int HalfEdge::getDual ( ) const
inline

Returns the number of the dual HalfEdge.

Definition at line 78 of file HalfEdge.h.

◆ getForced()

bool HalfEdge::getForced ( ) const
inline

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

Definition at line 98 of file HalfEdge.h.

◆ getNext()

int HalfEdge::getNext ( ) const
inline

Returns the number of the next HalfEdge.

Definition at line 83 of file HalfEdge.h.

◆ getPoint()

int HalfEdge::getPoint ( ) const
inline

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

Definition at line 88 of file HalfEdge.h.

◆ setBreak()

void HalfEdge::setBreak ( bool  b)
inline

Sets the break flag.

Definition at line 118 of file HalfEdge.h.

◆ setDual()

void HalfEdge::setDual ( int  d)
inline

Sets the number of the dual HalfEdge.

Definition at line 103 of file HalfEdge.h.

◆ setForced()

void HalfEdge::setForced ( bool  f)
inline

Sets the forced flag.

Definition at line 123 of file HalfEdge.h.

◆ setNext()

void HalfEdge::setNext ( int  n)
inline

Sets the number of the next HalfEdge.

Definition at line 108 of file HalfEdge.h.

◆ setPoint()

void HalfEdge::setPoint ( int  p)
inline

Sets the number of point at which this HalfEdge points.

Definition at line 113 of file HalfEdge.h.

Member Data Documentation

◆ mBreak

bool HalfEdge::mBreak = false
protected

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

Definition at line 40 of file HalfEdge.h.

◆ mDual

int HalfEdge::mDual = -10
protected

Number of the dual HalfEdge.

Definition at line 34 of file HalfEdge.h.

◆ mForced

bool HalfEdge::mForced = false
protected

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

Definition at line 42 of file HalfEdge.h.

◆ mNext

int HalfEdge::mNext = -10
protected

Number of the next HalfEdge.

Definition at line 36 of file HalfEdge.h.

◆ mPoint

int HalfEdge::mPoint = -10
protected

Number of the point at which this HalfEdge points.

Definition at line 38 of file HalfEdge.h.


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