atan2

Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).

Return

the theta component of the point (r, theta) in polar coordinates that corresponds to the point (x, y) in Cartesian coordinates.

Parameters

y

the ordinate coordinate

x

the abscissa coordinate