QGIS API Documentation
2.8.2-Wien
|
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 | inArc () const |
return incoming edges | |
QgsGraphArcIdList | outArc () const |
return outgoing edges | |
QgsPoint | point () const |
return vertex point |
Friends | |
class | QgsGraph |
This class implement a graph vertex.
Definition at line 88 of file qgsgraph.h.
|
inline |
default constructor.
It need for QT's container, e.g. QVector
Definition at line 94 of file qgsgraph.h.
QgsGraphVertex::QgsGraphVertex | ( | const QgsPoint & | point | ) |
This constructor initializes QgsGraphVertex object and associates a vertex with a point.
Definition at line 112 of file qgsgraph.cpp.
QgsGraphArcIdList QgsGraphVertex::inArc | ( | ) | const |
return incoming edges
Definition at line 123 of file qgsgraph.cpp.
QgsGraphArcIdList QgsGraphVertex::outArc | ( | ) | const |
return outgoing edges
Definition at line 118 of file qgsgraph.cpp.
QgsPoint QgsGraphVertex::point | ( | ) | const |
return vertex point
Definition at line 128 of file qgsgraph.cpp.
|
friend |
Definition at line 122 of file qgsgraph.h.