Bagikan melalui


NFloat.Atan2(NFloat, NFloat) Metode

Definisi

Menghitung tangen busur dari quotient dari dua nilai.

public:
 static System::Runtime::InteropServices::NFloat Atan2(System::Runtime::InteropServices::NFloat y, System::Runtime::InteropServices::NFloat x) = System::Numerics::IFloatingPointIeee754<System::Runtime::InteropServices::NFloat>::Atan2;
public static System.Runtime.InteropServices.NFloat Atan2 (System.Runtime.InteropServices.NFloat y, System.Runtime.InteropServices.NFloat x);
static member Atan2 : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Atan2 (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.

Penerapan

Keterangan

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

Berlaku untuk