RiseTransitSetTimes
public struct RiseTransitSetTimes
Convenient class for storing the Rise, Transit and Set times of a celestial body.
-
Undocumented
Declaration
Swift
public fileprivate(set) var geographicCoordinates: GeographicCoordinates { get }
-
Undocumented
Declaration
Swift
public fileprivate(set) var celestialBody: CelestialBody { get }
-
Returns a new RiseTransitSetTimes object giving access to Rise, Transit and Set times of the provided body.
Declaration
Swift
public init(celestialBody: CelestialBody, geographicCoordinates: GeographicCoordinates, riseSetAltitude: Degree? = nil)
Parameters
celestialBody
The celestial body under study.
geographicCoordinates
The geographic coordinates of the observer.
riseSetAltitude
The altitude considered for rise and set times.
-
The rise time of the celestial body, in Julian Day.
Declaration
Swift
public var riseTime: JulianDay? { get }
-
The transit time of the celestial body, in Julian Day.
Declaration
Swift
public var transitTime: JulianDay? { get }
-
The set time of the celestial body, in Julian Day.
Declaration
Swift
public var setTime: JulianDay? { get }