16 #ifndef QGSNETWORKDISTANCESTRATEGY_H 17 #define QGSNETWORKDISTANCESTRATEGY_H 20 #include "qgis_analysis.h" 32 QVariant
cost(
double distance,
const QgsFeature & )
const override;
35 #endif // QGSNETWORKDISTANCESTRATEGY_H QgsNetworkStrategy defines strategy used for calculation of the edge cost. For example it can take in...
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
virtual QVariant cost(double distance, const QgsFeature &f) const =0
Returns edge cost.
Strategy for caclulating edge cost based on its length. Should be used for finding shortest path betw...