System.Math.RadToCycle
Delphi
function RadToCycle(const Radians: Single): Single;{ Cycles := Radians / 2PI }
function RadToCycle(const Radians: Double): Double;{ Cycles := Radians / 2PI }
function RadToCycle(const Radians: Extended): Extended;{ Cycles := Radians / 2PI }
C++
extern DELPHI_PACKAGE float __fastcall RadToCycle(const float Radians)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
説明
ラジアンで表された値を周期に変換します。
RadToCycle を使用すると、ラジアンで表された角度を周期に変換できます。変換式は以下のとおりです。
周期 = ラジアン / (2π)