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
celestialBodyThe celestial body under study.
geographicCoordinatesThe geographic coordinates of the observer.
riseSetAltitudeThe 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 }
View on GitHub
Install in Dash
RiseTransitSetTimes Structure Reference