Class: QgsDoubleRange

class qgis.core.QgsDoubleRange(lower: float, upper: float, includeLower: bool = True, includeUpper: bool = True)

Bases: QgsRangedoubleBase

Constructor for QgsDoubleRange. The lower and upper bounds are specified, and optionally whether or not these bounds are included in the range.

QgsDoubleRange() Constructor for QgsDoubleRange containing an infinite range (see isInfinite()).

New in version 3.18.

QgsDoubleRange(QgsDoubleRange)

QgsRange which stores a range of double values.

See also

QgsIntRange

See also

QgsDateRange

See also

QgsDateTimeRange

Methods

isInfinite

Returns True if the range consists of all possible values.

isInfinite(self)bool

Returns True if the range consists of all possible values.

New in version 3.18.

Return type

bool