MindFusion.Wpf Pack Programmer's Guide
ATAN2

Returns the arctangent, or inverse tangent, of the specified x-coordinates and y-coordinates. The arctangent is the angle from the x-axis to a line containing the origin (0, 0) and a point with the specified coordinates. The angle is given in radians between (-ππ].

Syntax  Copy Code

ATAN2( Number x, Number y ) Number

Parameters

x
Required. The x-coordinate of the point.
y
Required. The y-coordinate of the point.

Remarks

To express the arctangent in degrees, multiply the result by 180/PI or use the DEGREES function.

Example

Formula  Copy Code

=ATAN2(1,1)
=ATAN2(1,1)*180/PI()

See Also

Function Reference
ATAN Function
TAN Function
PI Function
RADIANS Function
DEGREES Function