ArcSecond
public struct ArcSecond : NumericType, CustomStringConvertible
The ArcSecond is a unit of angle.
-
The ArcSecond value
Declaration
Swift
public let value: Double -
Creates a new ArcSecond instance.
Declaration
Swift
public init(_ value: Double)Parameters
valueThe value of ArcSecond.
-
Transform the current ArcSecond in Degrees
Declaration
Swift
public var inDegrees: Degree { get } -
Transform the current ArcSecond in ArcMinutes
Declaration
Swift
public var inArcMinutes: ArcMinute { get } -
Transform the current ArcSecond in Hours
Declaration
Swift
public var inHours: Hour { get } -
Returns a new distance in Astronomical Units, the arcsecond being understood as a geometrical parallax.
Declaration
Swift
public func distance() -> ParsecReturn Value
The distance of the object.
-
Returns a new distance in Astronomical Units, the arcsecond being understood as a equatorial horizontal parallax, that is the difference between the topocentric and the geocentric coordinates of a solar system body (Sun, planet or comets).
Declaration
Swift
public func distanceFromEquatorialHorizontalParallax() -> AstronomicalUnitReturn Value
The distance of the object.
-
Declaration
Swift
public var description: String { get }
View on GitHub
Install in Dash
ArcSecond Structure Reference