Skip to main content
API Reference NSDK

GeolocationData

Struct representing geolocation data including latitude, longitude, altitude,...

Declaration

struct GeolocationData

Summary

Struct representing geolocation data including latitude, longitude, altitude, heading, and orientation.


Constructors

init(latitude: Double, longitude: Double, altitude: Double)

Summary

Creates geolocation data from a latitude, longitude, and altitude.


Properties

NameTypeSummary
let altitudeDouble
Ellipsoidal device location altitude, measured in meters.
let headingDouble
Heading in degrees relative to true north.
let latitudeDouble
Geographical device location latitude.
let longitudeDouble
Geographical device location longitude.

Methods

NameTypeSummary
getEastDownNorthQuaternionsimd_quatf
Returns the orientation in East-Down-North (EDN) frame.
getEastUpSouthQuaternionsimd_quatf
Returns the orientation converted to East–Up–South (EUS) frame.

Operators

NameTypeSummary
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 != b
implies 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