| QGIS API Documentation 3.99.0-Master (f78f5286a64)
    | 
Represents vertex in a graph. More...
#include <qgsgraph.h>
| Public Member Functions | |
| QgsGraphVertex ()=default | |
| QgsGraphVertex (const QgsPointXY &point) | |
| This constructor initializes QgsGraphVertex object and associates a vertex with a point. | |
| QgsGraphEdgeIds | incomingEdges () const | 
| Returns the incoming edge ids, i.e. | |
| QgsGraphEdgeIds | outgoingEdges () const | 
| Returns outgoing edge ids, i.e. | |
| QgsPointXY | point () const | 
| Returns point associated with graph vertex. | |
| Friends | |
| class | QgsGraph | 
Represents vertex in a graph.
Definition at line 88 of file qgsgraph.h.
| 
 | default | 
| QgsGraphVertex::QgsGraphVertex | ( | const QgsPointXY & | point | ) | 
This constructor initializes QgsGraphVertex object and associates a vertex with a point.
Definition at line 189 of file qgsgraph.cpp.
| QgsGraphEdgeIds QgsGraphVertex::incomingEdges | ( | ) | const | 
Returns the incoming edge ids, i.e.
edges which end at this node.
Definition at line 194 of file qgsgraph.cpp.
| QgsGraphEdgeIds QgsGraphVertex::outgoingEdges | ( | ) | const | 
Returns outgoing edge ids, i.e.
edges which start at this node.
Definition at line 199 of file qgsgraph.cpp.
| QgsPointXY QgsGraphVertex::point | ( | ) | const | 
Returns point associated with graph vertex.
Definition at line 204 of file qgsgraph.cpp.
| 
 | friend | 
Definition at line 121 of file qgsgraph.h.