|
| | cyclic () |
| | Default constructor.
|
| |
| | cyclic (const float val) |
| | Constructor overload.
|
| |
| | cyclic (const cyclic &other) |
| | Copy constructor.
|
| |
| | cyclic (const degrees &other) |
| | Copy constructor.
|
| |
| float | value () const |
| | Getter for val.
|
| |
| other_t | convert () const |
| | Conversion between two different circular quantities.
|
| |
| cyclic & | operator= (const float nval) |
| | Assignment operator.
|
| |
| cyclic & | operator= (const cyclic &other) |
| | Assignment operator.
|
| |
| cyclic & | operator= (cyclic &&other) |
| | Move operator.
|
| |
| cyclic & | operator+= (const cyclic &other) |
| | Addition compound operator.
|
| |
| cyclic & | operator-= (const cyclic &other) |
| | Subtraction compound operator.
|
| |
| static bool | inRange (const float val) |
| | Checks if val is within the valid interval of wrapped values.
|
| |
| static float | wrap (const float val) |
| | Returns val, converted to the valid interval of values.
|
| |
| static float | unwrap (const float what, const float from) |
| | Returns value of the parameter what modified so that there is no "jump" between from and \t what.
|
| |
| static float | pdist (const float from, const float to) |
| | Returns length of the shortest walk in the positive direction from the first parameter to the second one.
|
| |
|
static float | pdist (const cyclic from, const cyclic to) |
| |
| static float | diff (const float minuend, const float subtrahend) |
| | Returns the difference between the two circular values.
|
| |
|
static float | diff (const cyclic minuend, const cyclic subtrahend) |
| |
| static float | dist (const float from, const float to) |
| | Returns the distance between the two circular values.
|
| |
|
static float | dist (const cyclic from, const cyclic to) |
| |
| static float | interpUnwrapped (const float from, const float to, const float coeff) |
| | Interpolation between two circular quantities without wrapping of the result.
|
| |
|
static float | interpUnwrapped (const cyclic from, const cyclic to, const float coeff) |
| |
| static float | interp (const float from, const float to, const float coeff) |
| | Interpolation between two circular quantities.
|
| |
|
static float | interp (const cyclic from, const cyclic to, const float coeff) |
| |
| static float | pinterpUnwrapped (const float from, const float to, const float coeff) |
| | Interpolation between two circular quantities in the positive direction without wrapping of the result.
|
| |
|
static float | pinterpUnwrapped (const cyclic from, const cyclic to, const float coeff) |
| |
| static float | pinterp (const float from, const float to, const float coeff) |
| | Interpolation between two circular quantities in the positive direction.
|
| |
|
static float | pinterp (const cyclic from, const cyclic to, const float coeff) |
| |
| static other_t | convert (const cyclic &what) |
| | Conversion between two different circular quantities.
|
| |
|
float | val |
| |