|
Quantum GIS API Documentation
1.8
|
#include <qgsidwinterpolator.h>


Public Member Functions | |
| QgsIDWInterpolator (const QList< LayerData > &layerData) | |
| ~QgsIDWInterpolator () | |
| int | interpolatePoint (double x, double y, double &result) |
| Calculates interpolation value for map coordinates x, y. | |
| void | setDistanceCoefficient (double p) |
Private Member Functions | |
| QgsIDWInterpolator () | |
Private Attributes | |
| double | mDistanceCoefficient |
| The parameter that sets how the values are weighted with distance. | |
Definition at line 23 of file qgsidwinterpolator.h.
| QgsIDWInterpolator::QgsIDWInterpolator | ( | const QList< LayerData > & | layerData | ) |
Definition at line 22 of file qgsidwinterpolator.cpp.
Definition at line 32 of file qgsidwinterpolator.cpp.
| QgsIDWInterpolator::QgsIDWInterpolator | ( | ) | [private] |
Definition at line 27 of file qgsidwinterpolator.cpp.
| int QgsIDWInterpolator::interpolatePoint | ( | double | x, |
| double | y, | ||
| double & | result | ||
| ) | [virtual] |
Calculates interpolation value for map coordinates x, y.
| x | x-coordinate (in map units) |
| y | y-coordinate (in map units) |
| result | out: interpolation result |
Implements QgsInterpolator.
Definition at line 37 of file qgsidwinterpolator.cpp.
References QgsInterpolator::cacheBaseData(), QgsInterpolator::mCachedBaseData, QgsInterpolator::mDataIsCached, mDistanceCoefficient, and MathUtils::min().
| void QgsIDWInterpolator::setDistanceCoefficient | ( | double | p | ) | [inline] |
Definition at line 36 of file qgsidwinterpolator.h.
double QgsIDWInterpolator::mDistanceCoefficient [private] |
The parameter that sets how the values are weighted with distance.
Smaller values mean sharper peaks at the data points. The default is a value of 2
Definition at line 45 of file qgsidwinterpolator.h.
Referenced by interpolatePoint().
1.7.6.1