EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.Atan2 Method (Decimal, Decimal)

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 y As Decimal, _
   ByVal x As Decimal _
) As Decimal
[C#]
public static decimal Atan2(
   decimal y,
   decimal x
);

Parameters

y
Y Co-ordinate
x
X 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