mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
fix qgsgraphanalyzer.h for sipification
This commit is contained in:
parent
31cd113b55
commit
fd9569febe
@ -22,7 +22,7 @@ class QgsGraphAnalyzer
|
||||
%End
|
||||
public:
|
||||
|
||||
static SIP_PYLIST void dijkstra( const QgsGraph *source, int startVertexIdx, int criterionNum, QVector<int> *resultTree = 0, QVector<double> *resultCost = 0 );
|
||||
static SIP_PYLIST dijkstra( const QgsGraph *source, int startVertexIdx, int criterionNum, QVector<int> *resultTree = 0, QVector<double> *resultCost = 0 );
|
||||
%Docstring
|
||||
Solve shortest path problem using Dijkstra algorithm
|
||||
\param source source graph
|
||||
|
@ -38,7 +38,7 @@ class ANALYSIS_EXPORT QgsGraphAnalyzer
|
||||
* \param resultTree array that represents shortest path tree. resultTree[ vertexIndex ] == inboundingArcIndex if vertex reachable, otherwise resultTree[ vertexIndex ] == -1
|
||||
* \param resultCost array of the paths costs
|
||||
*/
|
||||
static SIP_PYLIST void dijkstra( const QgsGraph *source, int startVertexIdx, int criterionNum, QVector<int> *resultTree = nullptr, QVector<double> *resultCost = nullptr );
|
||||
static void SIP_PYTYPE( SIP_PYLIST ) dijkstra( const QgsGraph *source, int startVertexIdx, int criterionNum, QVector<int> *resultTree = nullptr, QVector<double> *resultCost = nullptr );
|
||||
|
||||
#ifdef SIP_RUN
|
||||
% MethodCode
|
||||
|
@ -506,9 +506,3 @@ typedef unsigned long long qgssize;
|
||||
* Class level annotation for abstract classes
|
||||
*/
|
||||
#define SIP_ABSTRACT
|
||||
|
||||
/*
|
||||
* This is a PyObject * that is a Python list object
|
||||
* http://pyqt.sourceforge.net/Docs/sip4/specification_files.html#additional-sip-types
|
||||
*/
|
||||
#define SIP_PYLIST
|
||||
|
Loading…
x
Reference in New Issue
Block a user