|
static QVector2D | midPoint (QVector2D a, QVector2D b) |
|
static QPointF | midPoint (QPointF a, QPointF b) |
|
|
QList< Node * > | nodes |
|
QList< Edge * > | edges |
|
void Graph::addEdge |
( |
Edge * |
e | ) |
|
|
inline |
Add a new edge to the graph's list of edges
- Parameters
-
void Graph::addNode |
( |
Node * |
n | ) |
|
|
inline |
Add a new node to the graph's list of nodes
- Parameters
-
QList<Edge*>* Graph::getEdges |
( |
| ) |
|
|
inline |
Return the list of all the graph's edges.
- Returns
- QList of pointers to all the edges
QList<Node*>* Graph::getNodes |
( |
| ) |
|
|
inline |
Return the list of all the graph's nodes.
- Returns
- QList of pointers to all the nodes
static QVector2D Graph::midPoint |
( |
QVector2D |
a, |
|
|
QVector2D |
b |
|
) |
| |
|
inlinestatic |
static convenience function returning the mean point between two QVector2D objects
- Parameters
-
a | first QVector2D |
b | second QVector2D |
static QPointF Graph::midPoint |
( |
QPointF |
a, |
|
|
QPointF |
b |
|
) |
| |
|
inlinestatic |
static convenience function returning the mean point between two QPointF objects
- Parameters
-
a | first QPointF |
b | second QPointF |
The documentation for this class was generated from the following file: