EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.Atan2 Method (Int32, Int32)

Computes the angle (in Radians) that resulted in this Tangent value of y / x using Atan. Thus computing the inverse tangent or arctan.

[Visual Basic]
Overloads Public Shared Function Atan2( _
   ByVal x As Integer, _
   ByVal y As Integer _
) As Decimal
[C#]
public static decimal Atan2(
   int x,
   int y
);

Parameters

x
X Co-ordinate
y
Y Co-ordinate

Return Value

Angle in Radians in the range of -PI (exclusive) to PI (inclusive).

See Also

DecimalOps Class | Esb.Math Namespace | DecimalOps.Atan2 Overload List