|
| cyclic () |
| Default constructor. More...
|
|
| cyclic (const float val) |
| Constructor overload. More...
|
|
| cyclic (const cyclic &other) |
| Copy constructor. More...
|
|
| cyclic (const degrees &other) |
| Copy constructor. More...
|
|
float | value () const |
| Getter for val . More...
|
|
other_t | convert () const |
| Conversion between two different circular quantities. More...
|
|
cyclic & | operator= (const float nval) |
| Assignment operator. More...
|
|
cyclic & | operator= (const cyclic &other) |
| Assignment operator. More...
|
|
cyclic & | operator= (cyclic &&other) |
| Move operator. More...
|
|
cyclic & | operator+= (const cyclic &other) |
| Addition compound operator. More...
|
|
cyclic & | operator-= (const cyclic &other) |
| Subtraction compound operator. More...
|
|
static bool | inRange (const float val) |
| Checks if val is within the valid interval of wrapped values. More...
|
|
static float | wrap (const float val) |
| Returns val , converted to the valid interval of values. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
float | val |
|