QGIS API Documentation  2.6.0-Brighton
HalfEdge Class Reference

`#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.

## Constructor & Destructor Documentation

 HalfEdge::HalfEdge ( )
inline

Default constructor.

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

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

## Member Function Documentation

 bool HalfEdge::getBreak ( ) const
inline

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

 int HalfEdge::getDual ( ) const
inline

Returns the number of the dual HalfEdge.

 bool HalfEdge::getForced ( ) const
inline

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

 int HalfEdge::getNext ( ) const
inline

Returns the number of the next HalfEdge.

 int HalfEdge::getPoint ( ) const
inline

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

 void HalfEdge::setBreak ( bool b )
inline

Sets the break flag.

 void HalfEdge::setDual ( int d )
inline

Sets the number of the dual HalfEdge.

 void HalfEdge::setForced ( bool f )
inline

Sets the forced flag.

 void HalfEdge::setNext ( int n )
inline

Sets the number of the next HalfEdge.

 void HalfEdge::setPoint ( int p )
inline

Sets the number of point at which this HalfEdge points.

## Member Data Documentation

 bool HalfEdge::mBreak
protected

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

 int HalfEdge::mDual
protected

Number of the dual HalfEdge.

 bool HalfEdge::mForced
protected

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

 int HalfEdge::mNext
protected

Number of the next HalfEdge.

 int HalfEdge::mPoint
protected

Number of the point at which this HalfEdge points.

The documentation for this class was generated from the following file:
• /tmp/buildd/qgis-2.6.0+wheezy1/src/analysis/interpolation/HalfEdge.h