Επεξεργασία

Κοινή χρήση μέσω


Single.Atan2(Single, Single) Method

Definition

Computes the arc-tangent of the quotient of two values.

public:
 static float Atan2(float y, float x) = System::Numerics::IFloatingPointIeee754<float>::Atan2;
public static float Atan2 (float y, float x);
static member Atan2 : single * single -> single
Public Shared Function Atan2 (y As Single, x As Single) As Single

Parameters

y
Single

The y-coordinate of a point.

x
Single

The x-coordinate of a point.

Returns

The arc-tangent of y divided-by x.

Implements

Remarks

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

Applies to