Class: QgsMeshElevationAveragingMethod

class qgis.core.QgsMeshElevationAveragingMethod

Bases: QgsMesh3dAveragingMethod

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)

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.

Methods

clone

rtype

QgsMesh3dAveragingMethod

endElevation

Returns end elevation

equals

param other

readXml

param elem

startElevation

Returns start elevation

writeXml

param doc

clone(self) → QgsMesh3dAveragingMethod
Return type

QgsMesh3dAveragingMethod

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