Position

@available(swift 4.0)
public struct Position

TCX Position

  • Latitude Degrees

    Note

    Bounds -90.0 to 90.0

    Declaration

    Swift

    private(set) public var latitudeDegrees: Double?
  • Longitude Degrees

    Note

    Bounds -180 to 180

    Declaration

    Swift

    private(set) public var longitudeDegrees: Double?
  • Undocumented

    Declaration

    Swift

    public init(latitudeDegrees: Double?, longitudeDegrees: Double?)
  • Returns a Boolean value indicating whether two values are equal.

    Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.

    Declaration

    Swift

    public static func == (lhs: Position, rhs: Position) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

  • Coding Keys

    See more

    Declaration

    Swift

    public enum CodingKeys : String, CodingKey