Share via


NFloat.Atan2Pi(NFloat, NFloat) Metode

Definisi

Menghitung tangen busur untuk kuota dua nilai dan membagi hasilnya dengan pi.

public:
 static System::Runtime::InteropServices::NFloat Atan2Pi(System::Runtime::InteropServices::NFloat y, System::Runtime::InteropServices::NFloat x) = System::Numerics::IFloatingPointIeee754<System::Runtime::InteropServices::NFloat>::Atan2Pi;
public static System.Runtime.InteropServices.NFloat Atan2Pi (System.Runtime.InteropServices.NFloat y, System.Runtime.InteropServices.NFloat x);
static member Atan2Pi : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Atan2Pi (y As NFloat, x As NFloat) As NFloat

Parameter

y
NFloat

Koordinat y titik.

x
NFloat

Koordinat x titik.

Mengembalikan

Tangen busur dibagi-dengan yx, dibagi dengan pi.

Penerapan

Keterangan

Ini menghitung arctan(y / x) / π dalam interval [-1, +1].

Berlaku untuk