Fraxinus
16.5.0-fx-rc4
An IGT application
|
Utility class for describing a bounded numeric range. More...
#include <cxDoubleRange.h>
Public Member Functions | |
DoubleRange () | |
DoubleRange (double min, double max, double step) | |
double | min () const |
minimum value More... | |
double | max () const |
maximum value More... | |
double | step () const |
smallest reasonable increment More... | |
double | resolution () const |
number of steps in range (1 step means 1 resolution). More... | |
double | range () const |
max - min More... | |
double | constrainValue (double val) |
Public Attributes | |
double | mMin |
double | mMax |
double | mStep |
Utility class for describing a bounded numeric range.
Definition at line 53 of file cxDoubleRange.h.
|
inline |
Definition at line 55 of file cxDoubleRange.h.
|
inline |
Definition at line 59 of file cxDoubleRange.h.
|
inline |
Constrain the input to the range |min,max|
Definition at line 89 of file cxDoubleRange.h.
|
inline |
maximum value
Definition at line 70 of file cxDoubleRange.h.
|
inline |
minimum value
Definition at line 66 of file cxDoubleRange.h.
|
inline |
max - min
Definition at line 82 of file cxDoubleRange.h.
|
inline |
number of steps in range (1 step means 1 resolution).
Definition at line 78 of file cxDoubleRange.h.
|
inline |
smallest reasonable increment
Definition at line 74 of file cxDoubleRange.h.
double cx::DoubleRange::mMax |
Definition at line 64 of file cxDoubleRange.h.
double cx::DoubleRange::mMin |
Definition at line 63 of file cxDoubleRange.h.
double cx::DoubleRange::mStep |
Definition at line 65 of file cxDoubleRange.h.