Subgroup: other

Class: QgsTinInterpolator

class qgis.analysis.QgsTinInterpolator

Bases: qgis._analysis.QgsInterpolator

Interpolation in a triangular irregular network

New in version 3.0: Methods

cacheBaseData
interpolatePoint
setTriangulationSink Sets the optional sink for saving the triangulation features.
triangulationFields Returns the fields output by features when saving the triangulation.

Attributes

Canceled
CloughTocher
FeatureGeometryError
InvalidSource
Linear
SourceBreakLines
SourcePoints
SourceStructureLines
Success
ValueAttribute
ValueM
ValueZ
CloughTocher = 1
Linear = 0
class TinInterpolation

Bases: int

cacheBaseData()
interpolatePoint(self, x: float, y: float, feedback: QgsFeedback) → Tuple[int, float]
setTriangulationSink(self, sink: QgsFeatureSink)

Sets the optional sink for saving the triangulation features.

The sink must be setup to accept LineString features, with fields matching those returned by triangulationFields().

New in version 3.0.

triangulationFields() → QgsFields

Returns the fields output by features when saving the triangulation. These fields should be used when creating a suitable feature sink for setTriangulationSink()

New in version 3.0.