Object
open class Object : ObjectBase
The base class of all objects (Planets, Sun, Moons etc.).
-
The Julian Day at which the object is considered.
Declaration
Swift
public fileprivate(set) var julianDay: JulianDay { get } -
The precision flag.
Declaration
Swift
public fileprivate(set) var highPrecision: Bool { get } -
A convenience accesor returning the name of the object class.
Declaration
Swift
public var name: String { get } -
Creates a new instance of the object.
Declaration
Swift
public required init(julianDay: JulianDay, highPrecision: Bool = true)Parameters
julianDayThe julian day at which one will consider the object
highPrecisionA optional boolean indicating whether high precision (i.e. VSOP87 theory) must be used. Default is true.
View on GitHub
Install in Dash
Object Class Reference