Class: QgsMeshElevationAveragingMethod¶
- class qgis.core.QgsMeshElevationAveragingMethod¶
Bases:
QgsMesh3DAveragingMethod
Elevation averaging method averages the values based on range defined absolute value to the model’s datum The range is defined in the same length units as defined by model (e.g. meters)
For example one can pull out results irrespective of water level change such as between -16m and -10m. The elevation will be truncated at the surface and bed levels.
New in version 3.12.
QgsMeshElevationAveragingMethod() Ctor
QgsMeshElevationAveragingMethod(startElevation: float, endElevation: float) Constructs elevation averaging method
- Parameters:
startElevation – start elevation (absolute to model’s datum)
endElevation – end elevation (absolute to model’s datum)
QgsMeshElevationAveragingMethod(
QgsMeshElevationAveragingMethod
)Methods
- rtype:
QgsMesh3DAveragingMethod
Returns end elevation
- param other:
- param elem:
Returns start elevation
- param doc:
- clone(self) QgsMesh3DAveragingMethod ¶
- Return type:
- endElevation(self) float ¶
Returns end elevation
- Return type:
float
- equals(self, other: QgsMesh3DAveragingMethod) bool ¶
- Parameters:
other (QgsMesh3DAveragingMethod) –
- Return type:
bool
- readXml(self, elem: QDomElement)¶
- Parameters:
elem (QDomElement) –
- startElevation(self) float ¶
Returns start elevation
- Return type:
float
- writeXml(self, doc: QDomDocument) QDomElement ¶
- Parameters:
doc (QDomDocument) –
- Return type:
QDomElement