Protocols
The following protocols are available globally.
-
Basic properties of an orbiting object. Used by solar system planets, and the Earth’ Moon, and the Sun.
See moreDeclaration
Swift
public protocol CelestialBody : ObjectBase
-
The EllipticalPlanetaryDetails encompasses various elliptical details of solar-system planets.
See moreDeclaration
Swift
public protocol EllipticalPlanetaryDetails : PlanetaryBase
-
Undocumented
See moreDeclaration
Swift
public protocol IlluminatedFraction : EllipticalPlanetaryDetails
-
Base protocol for all numeric types of SwiftAA
Declaration
Swift
public protocol NumericType : Comparable, ExpressibleByFloatLiteral, Hashable, SignedNumeric, _NumericType
-
Undocumented
See moreDeclaration
Swift
public protocol _NumericType : AdditiveArithmetic
-
Base protocol used by all types of astronomical objects considered in SwiftAA, planets, moons, the Earth, the Sun etc.
See moreDeclaration
Swift
public protocol ObjectBase
-
Base constants to be used for all planets.
See moreDeclaration
Swift
public protocol PlanetConstants
-
The PlanetaryBase extends the simple ObjectBase protocol to provide specific accesors for solar-system planets.
See moreDeclaration
Swift
public protocol PlanetaryBase : ObjectBase
-
Undocumented
See moreDeclaration
Swift
public protocol PlanetaryDiameters : EllipticalPlanetaryDetails
-
This protocol encompasses various elements of planetary orbits.
See moreDeclaration
Swift
public protocol PlanetaryOrbits : PlanetaryBase
-
The PlanetaryPhenomena protocol encompass all methods associated with planetary phenomena in the solar system: conjunction, oppotisions, etc.
See moreDeclaration
Swift
public protocol PlanetaryPhenomena : PlanetaryBase
-
The PlanetaryPhenomena protocol encompass all methods associated with planetary phenomena in the solar system: conjunction, oppotisions, etc.
See moreDeclaration
Swift
public protocol PlanetaryPhysicalDetails : PlanetaryBase
-
Undocumented
See moreDeclaration
Swift
public protocol MarsPhysicalDetails : PlanetaryPhysicalDetails
-
Undocumented
See moreDeclaration
Swift
public protocol JupiterPhysicalDetails : PlanetaryPhysicalDetails