QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
18 #ifndef QGSINTERPOLATOR_H
19 #define QGSINTERPOLATOR_H
25 #include "qgis_analysis.h"
103 int interpolationAttribute = -1;
127 virtual int interpolatePoint(
double x,
double y,
double &result
SIP_OUT,
QgsFeedback *feedback =
nullptr ) = 0;
143 Result cacheBaseData(
QgsFeedback *feedback =
nullptr );
149 bool mDataIsCached =
false;
@ FeatureGeometryError
Operation failed due to invalid feature geometry.
@ SourceStructureLines
Structure lines.
@ ValueAttribute
Take value from feature's attribute.
Interpolation data for an individual source vertex.
@ SourcePoints
Point source.
A source together with the information about interpolation attribute / z-coordinate interpolation and...
@ ValueZ
Use feature's geometry Z values for interpolation.
QgsInterpolatorVertexData(double x, double y, double z)
Constructor for QgsInterpolatorVertexData with the specified x, y, and z coordinate.
QList< LayerData > layerData() const
QList< LayerData > mLayerData
Information about the input vector layers and the attributes (or z-values) that are used for interpol...
@ Canceled
Operation was manually canceled.
ValueSource
Source for interpolated values from features.
@ InvalidSource
Operation failed due to invalid source.
QVector< QgsInterpolatorVertexData > mCachedBaseData
Cached vertex data for input sources.
QgsCoordinateTransformContext transformContext
Coordinate transform context.
Result
Result of an interpolation operation.
SourceType
Describes the type of input data.
@ SourceBreakLines
Break lines.
@ ValueM
Use feature's geometry M values for interpolation.