42 if ( index < 0 || index >= mMin.size() )
44 return std::numeric_limits<double>::quiet_NaN();
47 return mMin.at( index );
57 if ( index < 0 || index >= mMax.size() )
59 return std::numeric_limits<double>::quiet_NaN();
62 return mMax.at( index );
73 if ( index < 0 || index >= mMax.size() )
89 if ( index < 0 || index >= mMax.size() )
Base class for detailed information about a rendered item.
QgsRenderedLayerStatistics(const QString &layerId, const QList< double > &minimum, const QList< double > &maximum)
Constructor for QgsRenderedLayerStatistics from a list of minimum and maximum.
QList< double > maximum() const
Returns the maximum values of the computed statistics.
void setMaximum(QList< double > &maximum)
Sets the maximum values of the computed statistics.
void setMinimum(QList< double > &minimum)
Sets the minimum values of the computed statistics.
QList< double > minimum() const
Returns the minimum values of the computed statistics.