mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
fix QgsArc.in() python-binding
This commit is contained in:
parent
94b5f99c37
commit
a950830dcf
@ -25,12 +25,12 @@ class QgsGraphArc
|
||||
/**
|
||||
* return index of outgoing vertex
|
||||
*/
|
||||
int out() const;
|
||||
int outVertex() const;
|
||||
|
||||
/**
|
||||
* return index of incoming vertex
|
||||
*/
|
||||
int in() const;
|
||||
int inVertex() const;
|
||||
};
|
||||
|
||||
|
||||
|
@ -97,6 +97,16 @@ QVector< QVariant > QgsGraphArc::properties() const
|
||||
return mProperties;
|
||||
}
|
||||
|
||||
int QgsGraphArc::inVertex() const
|
||||
{
|
||||
return mIn;
|
||||
}
|
||||
|
||||
int QgsGraphArc::outVertex() const
|
||||
{
|
||||
return mOut;
|
||||
}
|
||||
|
||||
int QgsGraphArc::in() const
|
||||
{
|
||||
return mIn;
|
||||
|
@ -47,7 +47,7 @@ class ANALYSIS_EXPORT QgsGraphArc
|
||||
* return property value
|
||||
* @param propertyIndex property index
|
||||
*/
|
||||
QVariant property(int propertyIndex ) const;
|
||||
QVariant property( int propertyIndex ) const;
|
||||
|
||||
/**
|
||||
* get array of proertyes
|
||||
@ -58,11 +58,13 @@ class ANALYSIS_EXPORT QgsGraphArc
|
||||
* return index of outgoing vertex
|
||||
*/
|
||||
int out() const;
|
||||
int outVertex() const;
|
||||
|
||||
/**
|
||||
* return index of incoming vertex
|
||||
*/
|
||||
int in() const;
|
||||
int inVertex() const;
|
||||
|
||||
private:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user