Raster values range container.
More...
#include <qgsrasterrange.h>
Raster values range container.
Represents range of values between min and max including min and max value.
Definition at line 31 of file qgsrasterrange.h.
◆ QgsRasterRange() [1/2]
QgsRasterRange::QgsRasterRange |
( |
| ) |
|
◆ QgsRasterRange() [2/2]
QgsRasterRange::QgsRasterRange |
( |
double |
theMin, |
|
|
double |
theMax |
|
) |
| |
Constructor.
- Parameters
-
theMin | minimum value |
theMax | max value |
Definition at line 28 of file qgsrasterrange.cpp.
◆ contains()
Test if value is within the list of ranges.
- Parameters
-
value | value |
rangeList | list of ranges |
- Returns
- true if value is in at least one of ranges
- Note
- not available in python bindings
Definition at line 34 of file qgsrasterrange.cpp.
◆ max()
double QgsRasterRange::max |
( |
| ) |
const |
|
inline |
◆ min()
double QgsRasterRange::min |
( |
| ) |
const |
|
inline |
◆ operator==()
◆ setMax()
double QgsRasterRange::setMax |
( |
double |
theMax | ) |
|
|
inline |
◆ setMin()
double QgsRasterRange::setMin |
( |
double |
theMin | ) |
|
|
inline |
The documentation for this class was generated from the following files: