|
QGIS API Documentation
2.4.0-Chugiak
|
#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. More... | |
| void | setDistanceCoefficient (double p) |
Public Member Functions inherited from QgsInterpolator | |
| QgsInterpolator (const QList< LayerData > &layerData) | |
| virtual | ~QgsInterpolator () |
| const QList< LayerData > & | layerData () const |
Private Member Functions | |
| QgsIDWInterpolator () | |
Private Attributes | |
| double | mDistanceCoefficient |
| The parameter that sets how the values are weighted with distance. More... | |
Additional Inherited Members | |
Public Types inherited from QgsInterpolator | |
| enum | InputType { POINTS, STRUCTURE_LINES, BREAK_LINES } |
| Describes the type of input data. More... | |
Protected Member Functions inherited from QgsInterpolator | |
| int | cacheBaseData () |
| Caches the vertex and value data from the provider. More... | |
Protected Attributes inherited from QgsInterpolator | |
| QVector< vertexData > | mCachedBaseData |
| bool | mDataIsCached |
| Flag that tells if the cache already has been filled. More... | |
| QList< LayerData > | mLayerData |
Definition at line 23 of file qgsidwinterpolator.h.
| QgsIDWInterpolator::QgsIDWInterpolator | ( | const QList< LayerData > & | layerData | ) |
Definition at line 22 of file qgsidwinterpolator.cpp.
| QgsIDWInterpolator::~QgsIDWInterpolator | ( | ) |
Definition at line 32 of file qgsidwinterpolator.cpp.
|
private |
Definition at line 27 of file qgsidwinterpolator.cpp.
|
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().
|
inline |
Definition at line 36 of file qgsidwinterpolator.h.
|
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.8.7