calc.atan2
Calculate the four-quadrant arctangent of a coordinate.
The arguments are (x, y)
, not (y, x)
.
Example
#calc.atan2(1, 1) \
#calc.atan2(-2, -3)

ParametersParameters are the inputs to a function. They are specified in parentheses after the function name.
Parameters are the inputs to a function. They are specified in parentheses after the function name.
x
The X coordinate.
y
The Y coordinate.