40 #ifndef CXDOUBLERANGE_H_
41 #define CXDOUBLERANGE_H_
43 #include "cxResourceExport.h"
56 mMin(0), mMax(1), mStep(0.1)
60 mMin(min), mMax(max), mStep(step)
80 return (mMax - mMin) / mStep;
double max() const
maximum value
Utility class for describing a bounded numeric range.
double resolution() const
number of steps in range (1 step means 1 resolution).
double min() const
minimum value
double constrainValue(double val)
double step() const
smallest reasonable increment
DoubleRange(double min, double max, double step)
double range() const
max - min