Template Function mrpt::math::wrapTo2Pi

Function Documentation

template<class T>
T mrpt::math::wrapTo2Pi(T a)

Modifies the given angle to translate it into the [0,2pi[ range.

Note

Take care of not instancing this template for integer numbers, since it only works for float, double and long double.