QGIS/python/analysis/auto_generated/interpolation/qgsidwinterpolator.sip.in

65 lines
2.2 KiB
Plaintext
Raw Normal View History

2017-06-22 20:25:19 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/interpolation/qgsidwinterpolator.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsIDWInterpolator: QgsInterpolator
{
2017-11-02 19:45:17 +10:00
%Docstring
2017-12-15 10:36:55 -04:00
Inverse distance weight interpolator.
2017-11-02 19:45:17 +10:00
%End
2017-06-22 20:25:19 +02:00
%TypeHeaderCode
2017-06-22 20:25:19 +02:00
#include "qgsidwinterpolator.h"
%End
public:
2017-11-02 19:45:17 +10:00
QgsIDWInterpolator( const QList<QgsInterpolator::LayerData> &layerData );
2017-11-02 19:45:17 +10:00
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsIDWInterpolator, with the specified ``layerData`` sources.
2017-11-02 19:45:17 +10:00
%End
2017-12-17 07:52:05 -04:00
virtual int interpolatePoint( double x, double y, double &result /Out/, QgsFeedback *feedback = 0 );
2017-06-22 20:25:19 +02:00
2017-11-02 19:45:17 +10:00
void setDistanceCoefficient( double coefficient );
2017-06-22 20:25:19 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Sets the distance ``coefficient``, the parameter that sets how the values are
weighted with distance. Smaller values mean sharper peaks at the data points.
2017-11-02 19:45:17 +10:00
2017-12-15 10:36:55 -04:00
Point values are weighted by 1 / ( distance ^ coefficient ).
2017-11-02 19:45:17 +10:00
.. seealso:: :py:func:`distanceCoefficient`
2017-12-15 10:36:55 -04:00
2017-11-02 19:45:17 +10:00
.. versionadded:: 3.0
2017-06-22 20:25:19 +02:00
%End
2017-11-02 19:45:17 +10:00
double distanceCoefficient() const;
%Docstring
2017-12-15 10:36:55 -04:00
Returns the distance coefficient, the parameter that sets how the values are
weighted with distance. Smaller values mean sharper peaks at the data points.
The default is a coefficient of 2.
Point values are weighted by 1 / ( distance ^ coefficient ).
2017-11-02 19:45:17 +10:00
.. seealso:: :py:func:`setDistanceCoefficient`
2017-12-15 10:36:55 -04:00
2017-11-02 19:45:17 +10:00
.. versionadded:: 3.0
%End
2017-06-22 20:25:19 +02:00
};
2017-06-22 20:25:19 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/interpolation/qgsidwinterpolator.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/