18#ifndef QGSRASTERBANDSTATS
19#define QGSRASTERBANDSTATS
67 double maximumValue = -std::numeric_limits<double>::max();
73 double minimumValue = std::numeric_limits<double>::max();
91 double sumOfSquares = 0;
The RasterBandStats struct is a container for statistics about a single raster band.
int bandNumber
The gdal band number (starts at 1)
int height
Number of rows used to calc statistics.
QgsRasterBandStats()=default
Constructor for QgsRasterBandStats.
QgsRectangle extent
Extent used to calc statistics.
int width
Number of columns used to calc statistics.
Qgis::RasterBandStatistics statsGathered
Collected statistics.
bool contains(const QgsRasterBandStats &s) const
Compares region, size etc. not collected statistics.
A rectangle specified with double values.
unsigned long long qgssize
Qgssize is used instead of size_t, because size_t is stdlib type, unknown by SIP, and it would be har...