GeospatialPose


public final class GeospatialPose


Describes a specific location, elevation, and orientation relative to Earth. It is comprised of:

  • Latitude and longitude, specified in degrees, with positive values being north of the equator and east of the prime meridian as defined by the WGS84 specification.

  • Altitude is specified in meters above the WGS84 ellipsoid, which is roughly equivalent to meters above sea level.

  • Orientation approximates the direction the user is facing in the EUS coordinate system. The EUS coordinate system has X+ pointing east, Y+ pointing up, and Z+ pointing south.

Summary

Public constructors

GeospatialPose(
    double latitude,
    double longitude,
    double altitude,
    @NonNull Quaternion eastUpSouthQuaternion
)

Public methods

boolean
equals(Object other)

Returns true if this GeospatialPose is equal to the other.

final double

The altitude of the GeospatialPose in meters.

final @NonNull Quaternion

The orientation of the GeospatialPose in the EUS coordinate system.

final double

The latitude of the GeospatialPose in degrees.

final double

The longitude of the GeospatialPose in degrees.

int
@NonNull String

Public constructors

GeospatialPose

Added in 1.0.0-alpha08
public GeospatialPose(
    double latitude,
    double longitude,
    double altitude,
    @NonNull Quaternion eastUpSouthQuaternion
)

Public methods

equals

public boolean equals(Object other)

Returns true if this GeospatialPose is equal to the other.

getAltitude

Added in 1.0.0-alpha08
public final double getAltitude()

The altitude of the GeospatialPose in meters.

getEastUpSouthQuaternion

Added in 1.0.0-alpha08
public final @NonNull Quaternion getEastUpSouthQuaternion()

The orientation of the GeospatialPose in the EUS coordinate system.

getLatitude

Added in 1.0.0-alpha08
public final double getLatitude()

The latitude of the GeospatialPose in degrees.

getLongitude

Added in 1.0.0-alpha08
public final double getLongitude()

The longitude of the GeospatialPose in degrees.

hashCode

public int hashCode()

toString

public @NonNull String toString()