|
| | cyclic () |
| | Default constructor.
|
| float | value () const |
| | Getter for val.
|
| cyclic & | operator= (const float nval) |
| | Assignment 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 | diff (const float minuend, const float subtrahend) |
| | Returns the difference between the two circular values.
|
| static float | dist (const float from, const float to) |
| | Returns the distance between the two circular values.
|
| static float | interpUnwrapped (const float from, const float to, const float coeff) |
| | Interpolation between two circular quantities without wrapping of the result.
|
| static float | interp (const float from, const float to, const float coeff) |
| | Interpolation between two circular quantities.
|
| 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 | pinterp (const float from, const float to, const float coeff) |
| | Interpolation between two circular quantities in the positive direction.
|
| static other_t | convert (const cyclic &what) |
| | Conversion between two different circular quantities.
|
|
float | val |