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

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