QGIS API Documentation
3.0.2-Girona (307d082)
|
Raster values range container. More...
#include <qgsrasterrange.h>
Public Member Functions | |
QgsRasterRange () | |
Constructor. More... | |
QgsRasterRange (double min, double max) | |
Constructor. More... | |
double | max () const |
double | min () const |
bool | operator== (QgsRasterRange o) const |
double | setMax (double max) |
double | setMin (double min) |
Static Public Member Functions | |
static bool | contains (double value, const QgsRasterRangeList &rangeList) |
Test if value is within the list of ranges. More... | |
Raster values range container.
Represents range of values between min and max including min and max value.
Definition at line 34 of file qgsrasterrange.h.
QgsRasterRange::QgsRasterRange | ( | ) |
Constructor.
Definition at line 22 of file qgsrasterrange.cpp.
QgsRasterRange::QgsRasterRange | ( | double | min, |
double | max | ||
) |
Constructor.
min | minimum value |
max | max value |
Definition at line 28 of file qgsrasterrange.cpp.
|
static |
Test if value is within the list of ranges.
value | value |
rangeList | list of ranges |
Definition at line 34 of file qgsrasterrange.cpp.
|
inline |
Definition at line 51 of file qgsrasterrange.h.
|
inline |
Definition at line 50 of file qgsrasterrange.h.
|
inline |
Definition at line 56 of file qgsrasterrange.h.
|
inline |
Definition at line 54 of file qgsrasterrange.h.
|
inline |
Definition at line 53 of file qgsrasterrange.h.