QGIS/python/analysis/auto_generated/network/qgsnetworkdistancestrategy.sip.in
Nyall Dawson 4c3a9ef7be Ensure that class \brief comes before \since (#7081)
Otherwise it breaks the Python docstrings, which require
the brief to come first
2018-05-28 04:03:46 -08: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
Strategy for calculating edge cost based on its length. Should be
used for finding shortest path between two points.
.. versionadded:: 3.0
%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 *
************************************************************************/