Functions | |
PREC | mapTo2Pi (PREC x) |
ApproxMVBB_DEFINE_MATRIX_TYPES PREC | mapToPi (PREC x) |
PREC | relativeAngle2Pi (PREC angle, PREC angle2) |
PREC | relativeAnglePi (PREC angle, PREC angle2) |
|
inline |
Maps angle to the range [0,2*pi] Sawtooth function as f = x - floor(x/a)*a , a = 2*pi
Definition at line 31 of file AngleFunctions.hpp.
|
inline |
Maps angle to the range [-pi,pi] Sawtooth function as g = f(x+a/2) - a/2 , f = x - floor(x/a)*a , a = 2*pi
Definition at line 24 of file AngleFunctions.hpp.
|
inline |
Relative angle measured from angle
Definition at line 40 of file AngleFunctions.hpp.
|
inline |
Relative angle measured from angle
Definition at line 36 of file AngleFunctions.hpp.