This struct defines a simple range of values.
More...
#include "../include/Range.h"
This struct defines a simple range of values.
- Author
- Dan Vietor
◆ Range() [1/2]
Constructor
References init().
◆ Range() [2/2]
Range::Range |
( |
float |
rmin, |
|
|
float |
rmax |
|
) |
| |
Constructor. Sets the values
- Parameters
-
rmin | Minimum value |
rmax | Maximum value |
References set().
◆ getMax()
float WXP::Range::getMax |
( |
| ) |
|
|
inline |
◆ getMin()
float WXP::Range::getMin |
( |
| ) |
|
|
inline |
◆ getRange()
float Range::getRange |
( |
| ) |
|
Gets the range between max and min
- Returns
- The range
References WXP::Const::MISS.
◆ init()
◆ print()
◆ set()
int Range::set |
( |
float |
rmin, |
|
|
float |
rmax |
|
) |
| |
Sets the values
- Parameters
-
rmin | Minimum value |
rmax | Maximum value |
Referenced by Range().
The documentation for this struct was generated from the following files: