PlanetaryPhenomena
public protocol PlanetaryPhenomena : PlanetaryBase
The PlanetaryPhenomena protocol encompass all methods associated with planetary phenomena in the solar system: conjunction, oppotisions, etc.
-
inferiorConjunction(mean:
Default implementation) Compute the julian day of the inferior conjunction of the planet after the given julian day.
if false, the true inferior conjunction is computed. That is, calculated by adding corrections to computations made from circular orbits and uniform planetary motions. See AA. pp 251.
Default Implementation
Declaration
Swift
func inferiorConjunction(mean: Bool) -> JulianDay
Parameters
mean
The ‘mean’ configuration here means that it is calculated from circular orbits and uniform planetary motions. See AA. pp 250.
Return Value
A julian day.
-
superiorConjunction(mean:
Default implementation) Compute the julian day of the superior conjunction of the planet after the given julian day.
if false, the true inferior conjunction is computed. That is, calculated by adding corrections to computations made from circular orbits and uniform planetary motions. See AA. pp 251.
Default Implementation
Declaration
Swift
func superiorConjunction(mean: Bool) -> JulianDay
Parameters
mean
The ‘mean’ configuration here means that it is calculated from circular orbits and uniform planetary motions. See AA. pp 250.
Return Value
A julian day.
-
opposition(mean:
Default implementation) Undocumented
Default Implementation
Undocumented
Declaration
Swift
func opposition(mean: Bool) -> JulianDay
-
conjunction(mean:
Default implementation) Undocumented
Default Implementation
Undocumented
Declaration
Swift
func conjunction(mean: Bool) -> JulianDay
-
easternElongation(mean:
Default implementation) Undocumented
Default Implementation
Undocumented
Declaration
Swift
func easternElongation(mean: Bool) -> JulianDay
-
westernElongation(mean:
Default implementation) Undocumented
Default Implementation
Undocumented
Declaration
Swift
func westernElongation(mean: Bool) -> JulianDay
-
station1(mean:
Default implementation) Undocumented
Default Implementation
Undocumented
Declaration
Swift
func station1(mean: Bool) -> JulianDay
-
station2(mean:
Default implementation) Undocumented
Default Implementation
Undocumented
Declaration
Swift
func station2(mean: Bool) -> JulianDay
-
elongationValue(eastern:
Default implementation) Undocumented
Default Implementation
Undocumented
Declaration
Swift
func elongationValue(eastern: Bool) -> Degree