Class: QgsDoubleRange¶
- class qgis.core.QgsDoubleRange¶
Bases:
QgsRangedoubleBase
QgsRange
which stores a range of double values.See also
See also
See also
QgsDoubleRange(lower: float, upper: float, limits: Qgis.RangeLimits) Constructor for
QgsDoubleRange
. Thelower
andupper
bounds are specified, and whether or not these bounds are included in the range.Added in version 3.38.
QgsDoubleRange(lower: float, upper: float, includeLower: bool = True, includeUpper: bool = True) Constructor for
QgsDoubleRange
. Thelower
andupper
bounds are specified, and optionally whether or not these bounds are included in the range.QgsDoubleRange() Constructor for
QgsDoubleRange
containing an infinite range (seeisInfinite()
).Added in version 3.18.
QgsDoubleRange(
QgsDoubleRange
)- isInfinite(self) bool ¶
Returns
True
if the range consists of all possible values.Added in version 3.18.
- Return type:
bool