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

72 lines
2.5 KiB
Plaintext
Raw Normal View History

/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsvectorlayerdirector.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsVectorLayerDirector : QgsGraphDirector
2011-06-02 19:02:20 +06:00
{
%Docstring
Determine making the graph from vector line layer
2017-12-15 10:36:55 -04:00
.. versionadded:: 3.0
2011-06-02 19:02:20 +06:00
%End
%TypeHeaderCode
#include "qgsvectorlayerdirector.h"
%End
2011-06-02 19:02:20 +06:00
public:
2016-11-21 11:29:02 +02:00
enum Direction
{
DirectionForward,
DirectionBackward,
DirectionBoth,
};
QgsVectorLayerDirector( QgsFeatureSource *source,
int directionFieldId,
const QString &directDirectionValue,
const QString &reverseDirectionValue,
const QString &bothDirectionValue,
Direction defaultDirection
);
%Docstring
2017-12-15 10:36:55 -04:00
Default constructor
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param source: feature source representing network
:param directionFieldId: field containing direction value
:param directDirectionValue: value for direct one-way road
:param reverseDirectionValue: value for reversed one-way road
:param bothDirectionValue: value for two-way (bidirectional) road
:param defaultDirection: default direction. Will be used if corresponding
attribute value is not set or does not equal to the given values
%End
2011-06-02 19:02:20 +06:00
virtual void makeGraph( QgsGraphBuilderInterface *builder,
const QVector< QgsPointXY > &additionalPoints,
QVector< QgsPointXY> &snappedPoints /Out/,
QgsFeedback *feedback = 0 ) const;
%Docstring
2017-12-15 10:36:55 -04:00
MANDATORY DIRECTOR PROPERTY DECLARATION
%End
virtual QString name() const;
2011-06-02 19:02:20 +06:00
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsvectorlayerdirector.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/