QGIS/python/analysis/network/qgsnetworkdistancestrategy.sip
Nyall Dawson 4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00

35 lines
1.4 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsnetworkdistancestrategy.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsNetworkDistanceStrategy : QgsNetworkStrategy
{
%Docstring
.. versionadded:: 3.0
Strategy for caclulating edge cost based on its length. Should be
used for finding shortest path between two points.
%End
%TypeHeaderCode
#include "qgsnetworkdistancestrategy.h"
%End
public:
virtual QVariant cost( double distance, const QgsFeature & ) const;
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsnetworkdistancestrategy.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/