QGIS/python/analysis/network/qgsgraphbuilder.sip
Matthias Kuhn a9d7630a69 Rename QgsPointV2 to QgsPoint and QgsPoint to QgsPointXY
Because 3D coordinates should be the default.

References https://github.com/qgis/qgis3.0_api/issues/36
2017-06-02 19:53:37 +02:00

54 lines
1.7 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsgraphbuilder.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsGraphBuilder : QgsGraphBuilderInterface
{
%Docstring
This class used for making the QgsGraph object
%End
%TypeHeaderCode
#include "qgsgraphbuilder.h"
%End
public:
QgsGraphBuilder( const QgsCoordinateReferenceSystem &crs, bool otfEnabled = true, double topologyTolerance = 0.0, const QString &ellipsoidID = "WGS84" );
%Docstring
Default constructor
%End
~QgsGraphBuilder();
virtual void addVertex( int id, const QgsPointXY &pt );
%Docstring
MANDATORY BUILDER PROPERTY DECLARATION
%End
virtual void addEdge( int pt1id, const QgsPointXY &pt1, int pt2id, const QgsPointXY &pt2, const QVector< QVariant > &prop );
QgsGraph *graph() /Factory/;
%Docstring
Returns generated QgsGraph
:rtype: QgsGraph
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/network/qgsgraphbuilder.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/