Class: QgsMeshUtils

class qgis.core.QgsMeshUtils

Bases: sip.simplewrapper

Methods

exportRasterBlock

Exports mesh layer’s dataset values as raster block

exportRasterBlock(layer: QgsMeshLayer, datasetIndex: QgsMeshDatasetIndex, destinationCrs: QgsCoordinateReferenceSystem, transformContext: QgsCoordinateTransformContext, mapUnitsPerPixel: float, extent: QgsRectangle, feedback: QgsRasterBlockFeedback = None) → QgsRasterBlock

Exports mesh layer’s dataset values as raster block

The function always fetches native mesh and dataset data from data provider and calculates triangular mesh

Parameters
Return type

QgsRasterBlock

Returns

raster block with Float.64 values. None on error

New in version 3.6.