Subgroup: Mesh

Class: QgsMeshDatasetIndex

class qgis.core.QgsMeshDatasetIndex(group: int = -1, dataset: int = -1)

Bases: sip.wrapper

Creates an index. -1 represents invalid group/dataset

QgsMeshDatasetIndex(QgsMeshDatasetIndex)

QgsMeshDatasetIndex is index that identifies the dataset group (e.g. wind speed) and a dataset in this group (e.g. magnitude of wind speed in particular time)

Note

The API is considered EXPERIMENTAL and can be changed without a notice

New in version 3.4: Methods

dataset Returns a dataset index within group()
group Returns a group index
isValid Returns whether index is valid, ie at least groups is set

Signals

Attributes

dataset(self) → int

Returns a dataset index within group()

group(self) → int

Returns a group index

isValid(self) → bool

Returns whether index is valid, ie at least groups is set