Raster values range container.
More...
#include <qgsrasterrange.h>
Static Public Member Functions |
static bool | contains (double value, const QgsRasterRangeList &rangeList) |
| Test if value is within the list of ranges.
|
Detailed Description
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.
Constructor & Destructor Documentation
QgsRasterRange::QgsRasterRange |
( |
| ) |
|
QgsRasterRange::QgsRasterRange |
( |
double |
theMin, |
|
|
double |
theMax |
|
) |
| |
Constructor.
- Parameters
-
theMin | minimum value |
theMax | max value |
Definition at line 28 of file qgsrasterrange.cpp.
QgsRasterRange::~QgsRasterRange |
( |
| ) |
|
Member Function Documentation
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 38 of file qgsrasterrange.cpp.
double QgsRasterRange::max |
( |
| ) |
const |
|
inline |
double QgsRasterRange::min |
( |
| ) |
const |
|
inline |
double QgsRasterRange::setMax |
( |
double |
theMax | ) |
|
|
inline |
double QgsRasterRange::setMin |
( |
double |
theMin | ) |
|
|
inline |
The documentation for this class was generated from the following files: