Global Variables
The following global variables are available globally.
-
Constant value substracted from Julian Day to create so-called modified julian days.
Declaration
Swift
public let ModifiedJulianDayZero: Double
-
The length of Julian Years, in days.
Declaration
Swift
public let JulianYear: Day
-
The length of Besselian Years, in days.
Declaration
Swift
public let BesselianYear: Day
-
The new standard epoch, as decided by the IAU in 1984.
Declaration
Swift
public let StandardEpoch_J2000_0: JulianDay
-
Undocumented
Declaration
Swift
public let StandardEpoch_B1950_0: JulianDay
-
Mean value of the lunar equator inclination, relative to the ecliptic.
Declaration
Swift
public let MeanLunarEquatorInclination: Degree
-
Conversion factor from radians to degrees.
Declaration
Swift
public let rad2deg: Double
-
Conversion factor from degrees to radians.
Declaration
Swift
public let deg2rad: Double
-
Conversion factor from radians to hours.
Declaration
Swift
public let rad2hour: Double
-
Conversion factor from hours to radians.
Declaration
Swift
public let hour2rad: Double
-
Conversion factor from Astronomical Unit to parsecs.
Declaration
Swift
public let AU2pc: Double
-
Conversion factor from Astronomical Unit to meters.
Declaration
Swift
public let AU2m: Double
-
Conversion factor from Astronomical Unit to light-years.
Declaration
Swift
public let AU2ly: Double