Skip to content

Commit

Permalink
missing SIP_OUT
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Dec 17, 2017
1 parent be8d1d7 commit b630a40
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion python/analysis/interpolation/qgsidwinterpolator.sip
Expand Up @@ -25,7 +25,7 @@ Inverse distance weight interpolator.
Constructor for QgsIDWInterpolator, with the specified ``layerData`` sources.
%End

virtual int interpolatePoint( double x, double y, double &result, QgsFeedback *feedback = 0 );
virtual int interpolatePoint( double x, double y, double &result /Out/, QgsFeedback *feedback = 0 );


void setDistanceCoefficient( double coefficient );
Expand Down
2 changes: 1 addition & 1 deletion python/analysis/interpolation/qgsinterpolator.sip
Expand Up @@ -97,7 +97,7 @@ Source type

virtual ~QgsInterpolator();

virtual int interpolatePoint( double x, double y, double &result, QgsFeedback *feedback = 0 ) = 0;
virtual int interpolatePoint( double x, double y, double &result /Out/, QgsFeedback *feedback = 0 ) = 0;
%Docstring
Calculates interpolation value for map coordinates x, y

Expand Down
2 changes: 1 addition & 1 deletion python/analysis/interpolation/qgstininterpolator.sip
Expand Up @@ -37,7 +37,7 @@ Ownership of ``feedback`` is not transferred and callers must ensure that it exi
%End
~QgsTinInterpolator();

virtual int interpolatePoint( double x, double y, double &result, QgsFeedback *feedback );
virtual int interpolatePoint( double x, double y, double &result /Out/, QgsFeedback *feedback );


static QgsFields triangulationFields();
Expand Down
2 changes: 1 addition & 1 deletion src/analysis/interpolation/qgsidwinterpolator.h
Expand Up @@ -35,7 +35,7 @@ class ANALYSIS_EXPORT QgsIDWInterpolator: public QgsInterpolator
*/
QgsIDWInterpolator( const QList<QgsInterpolator::LayerData> &layerData );

int interpolatePoint( double x, double y, double &result, QgsFeedback *feedback = nullptr ) override;
int interpolatePoint( double x, double y, double &result SIP_OUT, QgsFeedback *feedback = nullptr ) override;

/**
* Sets the distance \a coefficient, the parameter that sets how the values are
Expand Down
2 changes: 1 addition & 1 deletion src/analysis/interpolation/qgsinterpolator.h
Expand Up @@ -113,7 +113,7 @@ class ANALYSIS_EXPORT QgsInterpolator
* \param result out: interpolation result
* \param feedback optional feedback object for progress and cancelation support
* \returns 0 in case of success*/
virtual int interpolatePoint( double x, double y, double &result, QgsFeedback *feedback = nullptr ) = 0;
virtual int interpolatePoint( double x, double y, double &result SIP_OUT, QgsFeedback *feedback = nullptr ) = 0;

//! \note not available in Python bindings
QList<LayerData> layerData() const { return mLayerData; } SIP_SKIP
Expand Down
2 changes: 1 addition & 1 deletion src/analysis/interpolation/qgstininterpolator.h
Expand Up @@ -53,7 +53,7 @@ class ANALYSIS_EXPORT QgsTinInterpolator: public QgsInterpolator
QgsTinInterpolator( const QList<QgsInterpolator::LayerData> &inputData, TinInterpolation interpolation = Linear, QgsFeedback *feedback = nullptr );
~QgsTinInterpolator() override;

int interpolatePoint( double x, double y, double &result, QgsFeedback *feedback ) override;
int interpolatePoint( double x, double y, double &result SIP_OUT, QgsFeedback *feedback ) override;

/**
* Returns the fields output by features when saving the triangulation.
Expand Down

0 comments on commit b630a40

Please sign in to comment.