Class: QgsMeshDatasetIndex

class qgis.core.QgsMeshDatasetIndex

Bases: sip.wrapper

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.

QgsMeshDatasetIndex(group: int = -1, dataset: int = -1) Creates an index. -1 represents invalid group/dataset

QgsMeshDatasetIndex(QgsMeshDatasetIndex)

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

dataset(self) int

Returns a dataset index within group()

Return type:

int

group(self) int

Returns a group index

Return type:

int

isValid(self) bool

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

Return type:

bool