QGIS API Documentation
2.8.2-Wien
|
Interpolation in a triangular irregular network. More...
#include <qgstininterpolator.h>
Public Types | |
enum | TIN_INTERPOLATION { Linear, CloughTocher } |
Public Types inherited from QgsInterpolator | |
enum | InputType { POINTS, STRUCTURE_LINES, BREAK_LINES } |
Describes the type of input data. More... |
Public Member Functions | |
QgsTINInterpolator (const QList< LayerData > &inputData, TIN_INTERPOLATION interpolation=Linear, bool showProgressDialog=false) | |
~QgsTINInterpolator () | |
int | interpolatePoint (double x, double y, double &result) override |
Calculates interpolation value for map coordinates x, y. | |
void | setExportTriangulationToFile (bool e) |
void | setTriangulationFilePath (const QString &filepath) |
Public Member Functions inherited from QgsInterpolator | |
QgsInterpolator (const QList< LayerData > &layerData) | |
virtual | ~QgsInterpolator () |
const QList< LayerData > & | layerData () const |
Additional Inherited Members | |
Protected Member Functions inherited from QgsInterpolator | |
int | cacheBaseData () |
Caches the vertex and value data from the provider. | |
Protected Attributes inherited from QgsInterpolator | |
QVector< vertexData > | mCachedBaseData |
bool | mDataIsCached |
Flag that tells if the cache already has been filled. | |
QList< LayerData > | mLayerData |
Interpolation in a triangular irregular network.
Definition at line 29 of file qgstininterpolator.h.
Definition at line 33 of file qgstininterpolator.h.
QgsTINInterpolator::QgsTINInterpolator | ( | const QList< LayerData > & | inputData, |
TIN_INTERPOLATION | interpolation = Linear , |
||
bool | showProgressDialog = false |
||
) |
Definition at line 29 of file qgstininterpolator.cpp.
QgsTINInterpolator::~QgsTINInterpolator | ( | ) |
Definition at line 40 of file qgstininterpolator.cpp.
|
overridevirtual |
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 46 of file qgstininterpolator.cpp.
|
inline |
Definition at line 48 of file qgstininterpolator.h.
|
inline |
Definition at line 49 of file qgstininterpolator.h.