QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
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. QgsGraphBuilder and QgsGraphDirector implemented using "builder" design p...
Point geometry type, with support for z-dimension and m-values.
~QgsGraphDirector() override
Determine interface for creating a graph. Contains the settings of the graph. QgsGraphBuilder and Qgs...
#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.
QList< QgsNetworkStrategy * > mStrategies
QgsNetworkStrategy defines strategy used for calculation of the edge cost. For example it can take in...