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) |
| PREC ApproxMVBB::AngleFunctions::mapTo2Pi | ( | PREC | x | ) | [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.
| ApproxMVBB_DEFINE_MATRIX_TYPES PREC ApproxMVBB::AngleFunctions::mapToPi | ( | PREC | x | ) | [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.
| PREC ApproxMVBB::AngleFunctions::relativeAngle2Pi | ( | PREC | angle, |
| PREC | angle2 | ||
| ) | [inline] |
Relative angle measured from angle
Definition at line 40 of file AngleFunctions.hpp.
| PREC ApproxMVBB::AngleFunctions::relativeAnglePi | ( | PREC | angle, |
| PREC | angle2 | ||
| ) | [inline] |
Relative angle measured from angle
Definition at line 36 of file AngleFunctions.hpp.