Template Function mrpt::math::wrapToPiInPlace

Function Documentation

template<class T>
void mrpt::math::wrapToPiInPlace(T &a)

Modifies the given angle to translate it into the ]-pi,pi] range.

Note

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