mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
33 lines
1.4 KiB
Plaintext
33 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(signature="appended")
|
|
Strategy for calculating 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 *
|
|
************************************************************************/
|