QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSGRAPHDIRECTOR_H
17 #define QGSGRAPHDIRECTOR_H
26 #include "qgis_analysis.h"
49 sipType = sipType_QgsVectorLayerDirector;
61 qDeleteAll( mStrategies );
74 const QVector< QgsPointXY > &additionalPoints,
75 QVector< QgsPointXY > &snappedPoints
SIP_OUT,
79 Q_UNUSED( additionalPoints )
80 Q_UNUSED( snappedPoints )
87 mStrategies.push_back( prop );
91 virtual QString
name()
const = 0;
97 #endif // QGSGRAPHDIRECTOR_H
Determine making the graph.
Point geometry type, with support for z-dimension and m-values.
~QgsGraphDirector() override
Determine interface for creating a graph.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
Base class for feedback objects to be used for cancellation of something running in a worker thread.
void addStrategy(QgsNetworkStrategy *prop)
Add optimization strategy.
virtual void makeGraph(QgsGraphBuilderInterface *builder, const QVector< QgsPointXY > &additionalPoints, QVector< QgsPointXY > &snappedPoints, QgsFeedback *feedback=nullptr) const
Make a graph using QgsGraphBuilder.
Determine making the graph from vector line layer.
virtual QString name() const =0
Returns director name.
QList< QgsNetworkStrategy * > mStrategies
QgsNetworkStrategy defines strategy used for calculation of the edge cost.