System.Math.ArcTan2

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function ArcTan2(const Y, X: Extended): Extended;
function ArcTan2(const Y, X: Double): Double;
function ArcTan2(const Y, X: Single): Single;

C++

extern DELPHI_PACKAGE System::Extended __fastcall ArcTan2(const System::Extended Y, const System::Extended X)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
System.Math.pas
System.Math.hpp
System.Math System.Math


説明

指定された数値の逆正接の角度と象限を計算します。

ArcTan2 は ArcTan(Y/X) を計算し、角度を適切な象限の値で返します。 X および Y の値は、–264 から 264 の間でなければなりません。 戻り値は、-Pi から Pi ラジアンです。

関連項目