Double.Atan2Pi(Double, Double) Method

Definition

Computes the arc-tangent for the quotient of two values and divides the result by pi.

public:
 static double Atan2Pi(double y, double x) = System::Numerics::IFloatingPointIeee754<double>::Atan2Pi;
public static double Atan2Pi (double y, double x);
static member Atan2Pi : double * double -> double
Public Shared Function Atan2Pi (y As Double, x As Double) As Double

Parameters

y
Double

The y-coordinate of a point.

x
Double

The x-coordinate of a point.

Returns

The arc-tangent of y divided-by x, divided by pi.

Implements

Remarks

This computes arctan(y / x) / π in the interval [-1, +1].

Applies to