Radians

extension Radians
  • Convert an angle to degrees

    Declaration

    Swift

    public func toDegrees() -> Degrees
  • Pi, multiplied by two.

    Declaration

    Swift

    public static let twoPi: Double
  • Pi, divided by two.

    Declaration

    Swift

    public static let halfPi: Double
  • A full circle

    Declaration

    Swift

    public static let fullCircle: Double
  • A half circle

    Declaration

    Swift

    public static let halfCircle: Double
  • A quarter circle

    Declaration

    Swift

    public static let quarterCircle: Double