Attitude
public struct Attitude
extension Attitude: Codable
extension Attitude: Equatable
-
Declaration
Swift
public let quaternion: Quaternion
-
Declaration
Swift
public let time: Double?
-
Declaration
Swift
public let accuracy: Double?
-
Declaration
Swift
public var headingDegrees: CLLocationDirection { get }
-
Declaration
Swift
public var headingRadians: Double { get }
-
Declaration
Swift
public init(quaternion: Quaternion = .init(), time: Double? = nil, accuracy: Double? = nil)
-
Declaration
Swift
public init(headingDegrees: CLLocationDirection, time: Double? = nil, accuracy: Double? = nil)
-
Declaration
Swift
public init(headingRadians: Double, time: Double? = nil, accuracy: Double? = nil)
-
Declaration
Swift
public init(heading: CLHeading)
-
Declaration
Swift
public func toHeading() -> Heading
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public static func == (lhs: Attitude, rhs: Attitude) -> Bool