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
Returns a dataset index within
group()
Returns a group index
Returns whether index is valid, ie at least groups is set
- 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