QGIS API Documentation
2.6.0-Brighton
|
This class implement a graph vertex. More...
#include <qgsgraph.h>
Public Member Functions | |
QgsGraphVertex () | |
default constructor. | |
QgsGraphVertex (const QgsPoint &point) | |
This constructor initializes QgsGraphVertex object and associates a vertex with a point. | |
QgsGraphArcIdList | outArc () const |
return outgoing edges | |
QgsGraphArcIdList | inArc () const |
return incoming edges | |
QgsPoint | point () const |
return vertex point |
Friends | |
class | QgsGraph |
This class implement a graph vertex.
|
inline |
default constructor.
It need for QT's container, e.g. QVector
QgsGraphVertex::QgsGraphVertex | ( | const QgsPoint & | point | ) |
This constructor initializes QgsGraphVertex object and associates a vertex with a point.
QgsGraphArcIdList QgsGraphVertex::inArc | ( | ) | const |
return incoming edges
QgsGraphArcIdList QgsGraphVertex::outArc | ( | ) | const |
return outgoing edges
QgsPoint QgsGraphVertex::point | ( | ) | const |
return vertex point
|
friend |