PlanetConstants
public protocol PlanetConstants
Base constants to be used for all planets.
-
Undocumented
Declaration
Swift
var mass: Kilogram { get }
-
Undocumented
Declaration
Swift
var diameter: Meter { get }
-
Undocumented
Declaration
Swift
var density: KilogramPerCubicMeter { get }
-
Undocumented
Declaration
Swift
var gravity: MeterPerSquareSecond { get }
-
Undocumented
Declaration
Swift
var escapeVelocity: KilometerPerSecond { get }
-
Undocumented
Declaration
Swift
var rotationPeriod: Hour { get }
-
Undocumented
Declaration
Swift
var lengthOfDay: Hour { get }
-
Undocumented
Declaration
Swift
var distanceFromSun: MeterE9 { get }
-
Undocumented
Declaration
Swift
var perihelion: MeterE9 { get }
-
Undocumented
Declaration
Swift
var aphelion: MeterE9 { get }
-
Undocumented
Declaration
Swift
var orbitalPeriod: Day { get }
-
Undocumented
Declaration
Swift
var orbitalVelocity: KilometerPerSecond { get }
-
Undocumented
Declaration
Swift
var orbitalInclination: Degree { get }
-
Undocumented
Declaration
Swift
var orbitalEccentricity: Double { get }
-
Undocumented
Declaration
Swift
var obliquityToOrbit: Degree { get }
-
Undocumented
Declaration
Swift
var meanTemperature: Celsius { get }
-
Undocumented
Declaration
Swift
var surfacePressure: Double { get }
-
Undocumented
Declaration
Swift
var numberOfMoons: Int { get }
-
Undocumented
Declaration
Swift
var ringSystem: Bool { get }
-
Undocumented
Declaration
Swift
var globalMagneticField: Bool { get }