Arctan2

Explanation
Unlike Arctan the function Arctan2 is valid for all angles and so may be used to convert a vector to an angle without risking division by zero, and returns a result in the correct quadrant.

Arctan (also known as inverse tangent or tan-1) is a function where if tan(x)=n then x=arctan(n).