Single.Atan2(Single, Single) メソッド

定義

2 つの値の商のアークタンジェントを計算します。

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

パラメーター

y
Single

点の y 座標。

x
Single

点の x 座標。

返品

yのアークタンジェントをxで除算します。

実装

注釈

これにより、ラジアンarctan(y / x)間隔で[-π, +π]が計算されます。

適用対象