I am looking at documentation for wrapTo2Pi, one of the angle wrapping functions provided by MATLAB. However, I've not been able to immediately find what it precisely mean to "wrap angles".
My interpretation is that, for the case of wrapTo2Pi, the output will always be in the range from 0 to 2pi, and should any angle input not be in that range, multiples of 2pi will be added to or subtracted from the input until it is in the range from 0 to 2pi. This result is then output. Am I right? If a precise definition of "angle wrapping" already exists, please kindly include a link to the page.
Secondly, wrapTo2Pi is apparently designed for geodesy applications. My application is not geodesy or longitudes - just elementary arithmetic calculations. However, wrapTo2Pi seems to fit the bill for what I'm looking for - is there anything I should be aware of or keep in mind if I'm not using this function for longitude inputs?