Angle

public struct Angle
extension Angle: Codable

Undocumented

Stored Properties

  • Undocumented

    Declaration

    Swift

    public var radians: Double

Computed Properties

  • Undocumented

    Declaration

    Swift

    public var degrees: Double { get set }

Initialization

  • Undocumented

    Declaration

    Swift

    public init(radians: Double)
  • Undocumented

    Declaration

    Swift

    public init(degrees: Double)

Static Properties

  • Undocumented

    Declaration

    Swift

    public static var zero: Angle { get }
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws