QGIS/python/analysis/auto_generated/network/qgsnetworkspeedstrategy.sip.in

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
1.5 KiB
Plaintext
Raw Normal View History

/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsnetworkspeedstrategy.h *
* *
2024-08-11 07:55:04 +10:00
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsNetworkSpeedStrategy : QgsNetworkStrategy
{
2021-03-22 21:13:52 +01:00
%Docstring(signature="appended")
Strategy for calculating edge cost based on travel time. Should be
used for finding fastest path between two points.
%End
%TypeHeaderCode
#include "qgsnetworkspeedstrategy.h"
%End
public:
QgsNetworkSpeedStrategy( int attributeId, double defaultValue, double toMetricFactor );
%Docstring
2017-12-15 10:36:55 -04:00
Default constructor
%End
virtual QVariant cost( double distance, const QgsFeature &f ) const;
2024-12-04 08:36:11 +01:00
virtual QSet<int> requiredAttributes() const;
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsnetworkspeedstrategy.h *
* *
2024-08-11 07:55:04 +10:00
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/