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 */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Converts radians to cycles.
Use RadToCycle to convert angles measured in radians into cycles, where
cycles = radians/(2pi).