Single.Atan2(Single, Single) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
計算兩個值商的弧切線。
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) 範圍為弧 [-π, +π] 度。