GeolocationData
Struct representing geolocation data including latitude, longitude, altitude,...
Declaration
struct GeolocationDataSummary
Struct representing geolocation data including latitude, longitude, altitude, heading, and orientation.
Constructors
Summary
Properties
| Name | Type | Summary |
|---|---|---|
| let altitude | Double | Ellipsoidal device location altitude, measured in meters. |
| let heading | Double | Heading in degrees relative to true north. |
| let latitude | Double | Geographical device location latitude. |
| let longitude | Double | Geographical device location longitude. |
Methods
| Name | Type | Summary |
|---|---|---|
| getEastDownNorthQuaternion | simd_quatf | Returns the orientation in East-Down-North (EDN) frame. |
| getEastUpSouthQuaternion | simd_quatf | Returns the orientation converted to East–Up–South (EUS) frame. |
Operators
| Name | Type | Summary |
|---|---|---|
| static func != | Bool | Returns a Boolean value indicating whether two values are not equal. Inequality is the inverse of equality. For any values a and b, a != bimplies that a == b is false.This is the default implementation of the not-equal-to operator ( !=)for any type that conforms to Equatable.- Parameters: - lhs: A value to compare. - rhs: Another value to compare. |
| static func == | Bool | 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.- Parameters: - lhs: A value to compare. - rhs: Another value to compare. |
Relationships
conforms to: Swift.Equatable
Creates geolocation data from a latitude, longitude, and altitude.