Class: QgsMeshDataset

class qgis.core.QgsMeshDataset

Bases: sip.wrapper

Constructor

QgsMeshDataset(QgsMeshDataset)

Abstract class that represents a dataset

Methods

areFacesActive

Returns whether faces are active

datasetValue

Returns the value with index valueIndex

datasetValues

Returns count values from valueIndex

isActive

Returns whether the face is active

metadata

Returns the metadata of the dataset

valuesCount

Returns the values count

areFacesActive(self, faceIndex: int, count: int)QgsMeshDataBlock

Returns whether faces are active

Parameters
  • faceIndex (int) –

  • count (int) –

Return type

QgsMeshDataBlock

datasetValue(self, valueIndex: int)QgsMeshDatasetValue

Returns the value with index valueIndex

Parameters

valueIndex (int) –

Return type

QgsMeshDatasetValue

datasetValues(self, isScalar: bool, valueIndex: int, count: int)QgsMeshDataBlock

Returns count values from valueIndex

Parameters
  • isScalar (bool) –

  • valueIndex (int) –

  • count (int) –

Return type

QgsMeshDataBlock

isActive(self, faceIndex: int) → bool

Returns whether the face is active

Parameters

faceIndex (int) –

Return type

bool

metadata(self)QgsMeshDatasetMetadata

Returns the metadata of the dataset

Return type

QgsMeshDatasetMetadata

valuesCount(self) → int

Returns the values count

Return type

int