Returns the arc tangent 2 of the values passed in parameter.
ArcTan2(1, 1) // Returns 45
ArcTan2(1, -1) // Returns 135
ArcTan2(-1, 1) // Returns -45
ArcTan2(-1, -1) // Returns -135
<Result> = ArcTan2(<Y> , <X>)
- Angle (in degrees) between:
- the positive part of the X axis of a plane,
- and the point of this plane at (X,Y) coordinates.
This angle is positive for the angles in counterclockwise direction, also called trigonometric direction (top half of the plane, Y > 0) and negative in the other one (bottom half of the plane, Y < 0).
This angle is included in the [-180, 180] interval.
- 0 if the <X> and <Y> parameters are set to 0.
Business / UI classification: Neutral code