Position
@available(swift 4.0)
public struct Position
TCX Position
-
Latitude Degrees
Note
Bounds -90.0 to 90.0Declaration
Swift
private(set) public var latitudeDegrees: Double?
-
Longitude Degrees
Note
Bounds -180 to 180Declaration
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
andb
,a == b
implies thata != b
isfalse
.Declaration
Swift
public static func == (lhs: Position, rhs: Position) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.
-
Coding Keys
See moreDeclaration
Swift
public enum CodingKeys : String, CodingKey