BinaryStarOrbitalElements
public struct BinaryStarOrbitalElements
The BinaryStarOrbitalElements struct encompasses all orbital elements of a binary star.
-
The revolution (orbital) period
Declaration
Swift
public private(set) var revolutionPeriod: MeanSolarYear { get }
-
The time of periastron
Declaration
Swift
public private(set) var timeOfPeriastron: DecimalYear { get }
-
The eccentricity of the orbit
Declaration
Swift
public private(set) var eccentricity: Double { get }
-
The inclination of the orbit relative to the line of sight.
Declaration
Swift
public private(set) var inclination: Degree { get }
-
The semi-major axis of the orbit
Declaration
Swift
public private(set) var semiMajorAxis: Degree { get }
-
The position angle of the ascending node
Declaration
Swift
public private(set) var positionAngleOfAscendingNode: Degree { get }
-
The longitude of the periastron.
Declaration
Swift
public private(set) var longitudeOfPeriastron: Degree { get }
-
Convenience accessor for the orbital period.
Declaration
Swift
public var P: MeanSolarYear { get }
-
Convenience accessor for the time of periastron
Declaration
Swift
public var T: DecimalYear { get }
-
Convenience accessor for the eccentricity
Declaration
Swift
public var e: Double { get }
-
Convenience accessor for the inclination
Declaration
Swift
public var i: Degree { get }
-
Convenience accessor for the semi-major axis
Declaration
Swift
public var a: Degree { get }
-
Convenience accessor for the position angle of the ascending node
Declaration
Swift
public var Omega: Degree { get }
-
Convenience accessor for the longitude of periastron
Declaration
Swift
public var w: Degree { get }