A graph edge.
More...
#include <GraphEdge.h>
|
|
float | _distance |
| | The distance between the two vertices connected by this edge.
|
| |
|
GraphVertex * | _nbr |
| | A pointer to the first graph vertex connected by this edge.
|
| |
| float Menge::GraphEdge::getDistance |
( |
| ) |
const |
|
inline |
Reports the distance between the vertices connected by this edge.
- Returns
- The length of this edge.
Returns the first attached GraphVertex.
- Returns
- A pointer to the first graph vertex.
| void Menge::GraphEdge::setDistance |
( |
float |
d | ) |
|
|
inline |
Sets the distance between the vertices.
- Parameters
-
| d | The distance between the two vertices. |
Set's the neighboring vertex.
- Parameters
-
| v | The first connected vertex. |
The documentation for this class was generated from the following files:
- src/menge/MengeCore/resources/GraphEdge.h
- src/menge/MengeCore/resources/GraphEdge.cpp