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( |
Public methods |
|
|---|---|
boolean |
Returns true if this GeospatialPose is equal to the |
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 |
hashCode() |
@NonNull String |
toString() |
Public constructors
GeospatialPose
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
public final double getAltitude()
The altitude of the GeospatialPose in meters.
getEastUpSouthQuaternion
public final @NonNull Quaternion getEastUpSouthQuaternion()
The orientation of the GeospatialPose in the EUS coordinate system.
getLatitude
public final double getLatitude()
The latitude of the GeospatialPose in degrees.
getLongitude
public final double getLongitude()
The longitude of the GeospatialPose in degrees.