Sun
public class Sun : Object, CelestialBody
The Sun.
-
Accessor to all values of the underlying physical details. Will probably become private once all relevant accessors are implemented and covered.
Declaration
Swift
public fileprivate(set) lazy var physicalDetails: KPCAAPhysicalSunDetails { get set }
-
Accessor to all values of the underlying eclipse details. Will probably become private once all relevant accessors are implemented and covered.
Declaration
Swift
public fileprivate(set) lazy var eclipseDetails: KPCAASolarEclipseDetails { get set }
-
The (constant) diameter of the Sun.
Declaration
Swift
public static let diameter: Meter
-
The (constant/adopted) semi-diameter of the Sun.
Declaration
Swift
public static let semiDiameterAtOneAU: ArcSecond
-
The default apparent altitude of the sun to compute rise and set times.
Declaration
Swift
public static let apparentRiseSetAltitude: Degree
-
The apparent equatorial semi diameter of the sun.
Declaration
Swift
public var equatorialSemiDiameter: ArcSecond { get }
-
The apparent polar semi diameter of the sun
Declaration
Swift
public var polarSemiDiameter: ArcSecond { get }
-
Computes the time of the next start of the synodic rotation of the Sun (used to follow sunspots).
Declaration
Swift
public func nextStartOfTimeOfRotation() -> JulianDay
Return Value
The julian day of the next start
-
The radius vector (distance between the Earth and the Sun.
Declaration
Swift
public var radiusVector: AstronomicalUnit { get }
-
The ecliptic coordinates of the Sun
Declaration
Swift
public var eclipticCoordinates: EclipticCoordinates { get }
-
The apparent ecliptic coordinates of the Sun.
Declaration
Swift
public var apparentEclipticCoordinates: EclipticCoordinates { get }
-
The equatorial coordinates of the Sun
Declaration
Swift
public var equatorialCoordinates: EquatorialCoordinates { get }
-
The apparent equatorial coordinates of the Sun
Declaration
Swift
public var apparentEquatorialCoordinates: EquatorialCoordinates { get }
-
See AA, p.164. In some instances, for example in meteor work, it is necessary to have the Sun’s longitude referred to the standard equinox of J2000.0. Between, 1900 and 2100, this can be performed with sufficient accuracy.
Declaration
Swift
public var eclipticCoordinatesStandardJ2000: EclipticCoordinates { get }
-
Computes the apparent horizontal coordinates of the Sun for a given location of the observer.
Declaration
Swift
public func makeHorizontalCoordinates(with geographicCoordinates: GeographicCoordinates) -> HorizontalCoordinates
Parameters
geographicCoordinates
The location of the observer.
Return Value
A new horizontal coordinates instance.
-
The position angle of the northern extremity of the axis of rotation, measured eastwards from the North Point of the solar disk.
Declaration
Swift
public var positionAngleOfNorthernRotationAxisPoint: Degree { get }
-
The heliographic latitude of the center of the solar disk. It represents the tilt of the Sun’s north pole toward (+) or away (-) from Earth. It is zero about June 6 and December 7, and reaches a maximum value about March 6 (-7º.25) and September 8 (+7º.25).
Declaration
Swift
public var heliographicLatitudeOfSolarDiskCenter: Degree { get }
-
The heliographic longitude of the center of the solar disk. It decreases by about 13.2 degrees per day.
Declaration
Swift
public var heliographicLongitudeOfSolarDiskCenter: Degree { get }
-
A synodic rotation cycle of the Sun begins when the heliographic longitude of the solar disk center is 0º.
Declaration
Swift
public static func timeOfStartOfSynodicRotation(rotationNumber C: Int) -> JulianDay
Parameters
C
The rotation number. C = 1 on November 9, 1853.
Return Value
The julian day of the start of the cycle.
-
Compute the equation of time, that is, the difference between the apparent and the mean time. Or, in other words, the difference between the hour angle of the true Sun and the mean Sun.
Declaration
Swift
public func equationOfTime() -> Minute
Return Value
The equation of time, in Minute.
-
AA+ provides computation for so-called elliptical planetary details also for the Sun
Declaration
Swift
public lazy var planetaryDetails: KPCAAEllipticalPlanetaryDetails { get set }