|
|
|
|
ArcTan2 (Function) In french: ArcTang2 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
Syntax
<Result> = ArcTan2(<Y> , <X>)
<Result>: Real - 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.
<Y>: Real Y value. <X>: Real X value. Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|