16 #ifndef QGSVECTORLAYERDIRECTOR_H
17 #define QGSVECTORLAYERDIRECTOR_H
22 #include "qgis_analysis.h"
65 const QString &directDirectionValue,
66 const QString &reverseDirectionValue,
67 const QString &bothDirectionValue,
68 Direction defaultDirection
75 const QVector< QgsPointXY > &additionalPoints,
76 QVector< QgsPointXY> &snappedPoints
SIP_OUT,
79 QString
name()
const override;
83 int mDirectionFieldId = -1;
84 QString mDirectDirectionValue;
85 QString mReverseDirectionValue;
86 QString mBothDirectionValue;
87 Direction mDefaultDirection = DirectionBoth;
90 Direction directionForFeature(
const QgsFeature &feature )
const;
An interface for objects which provide features via a getFeatures method.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Determine interface for creating a graph.
Determine making the graph.
virtual void makeGraph(QgsGraphBuilderInterface *builder, const QVector< QgsPointXY > &additionalPoints, QVector< QgsPointXY > &snappedPoints, QgsFeedback *feedback=nullptr) const
Make a graph using QgsGraphBuilder.
virtual QString name() const =0
Returns director name.
Determine making the graph from vector line layer.
Direction
Edge direction Edge can be one-way with direct flow (one can move only from the start point to the en...
@ DirectionForward
One-way direct.
@ DirectionBackward
One-way reversed.
QList< int > QgsAttributeList