KiCad PCB EDA Suite
|
Edge class in the in the half-edge data structure. More...
#include <hetriang.h>
Public Member Functions | |
EDGE () | |
Constructor. More... | |
virtual | ~EDGE () |
Destructor. More... | |
void | SetSourceNode (const NODE_PTR &aNode) |
Sets the source node. More... | |
void | SetNextEdgeInFace (const EDGE_PTR &aEdge) |
Sets the next edge in face. More... | |
void | SetTwinEdge (const EDGE_PTR &aEdge) |
Sets the twin edge. More... | |
void | SetAsLeadingEdge (bool aLeading=true) |
Sets the edge as a leading edge. More... | |
bool | IsLeadingEdge () const |
Checks if an edge is a leading edge. More... | |
EDGE_PTR | GetTwinEdge () const |
Returns the twin edge. More... | |
void | ClearTwinEdge () |
const EDGE_PTR & | GetNextEdgeInFace () const |
Returns the next edge in face. More... | |
const NODE_PTR & | GetSourceNode () const |
Retuns the source node. More... | |
virtual const NODE_PTR & | GetTargetNode () const |
Returns the target node. More... | |
void | Clear () |
Protected Attributes | |
NODE_PTR | m_sourceNode |
EDGE_WEAK_PTR | m_twinEdge |
EDGE_PTR | m_nextEdgeInFace |
bool | m_isLeadingEdge |
Edge class in the in the half-edge data structure.
Definition at line 179 of file hetriang.h.
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 256 of file hetriang.h.
|
inline |
Definition at line 232 of file hetriang.h.
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 272 of file hetriang.h.
|
protected |
Definition at line 271 of file hetriang.h.
|
protected |
Definition at line 269 of file hetriang.h.
|
protected |
Definition at line 270 of file hetriang.h.