Template Function mrpt::math::wrapTo2PiInPlace

Function Documentation

template<class T>
void mrpt::math::wrapTo2PiInPlace(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.