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

    value

    The 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() -> Parsec

    Return 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() -> AstronomicalUnit

    Return Value

    The distance of the object.

  • Declaration

    Swift

    public var description: String { get }