GeospatialPose

public class GeospatialPose

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

  • Latitude and longitude are 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.
  • Accuracy of the latitude, longitude, altitude, and orientation are available as numeric confidence intervals where a large value (large interval) means low confidence and small value (small interval) means high confidence.
An GeospatialPose can be retrieved from Earth.getCameraGeospatialPose() and by converting a Pose using Earth.getGeospatialPose(Pose).

Public Methods

double
getAltitude()
Returns the GeospatialPose's altitude in meters as elevation above the WGS84 ellipsoid.
float[]
getEastUpSouthQuaternion()
Extracts the orientation from a Geospatial pose.
double
getHeading()
This method is deprecated. This function has been deprecated in favor of getEastUpSouthQuaternion() which provides orientation values in 3D space. To determine a value analogous to the heading value, calculate the yaw, pitch, and roll values from getEastUpSouthQuaternion(). When the device is pointing downwards, i.e. perpendicular to the ground, heading is analoguous to roll, and when the device is upright in the device's default orientation mode, heading is analogous to yaw.
double
getHeadingAccuracy()
This method is deprecated. This function has deprecated in favor of getOrientationYawAccuracy(), which provides the accuracy analogous to the heading accuracy when the device is held upright in the default orientation mode.
double
getHorizontalAccuracy()
Returns the GeospatialPose's estimated horizontal accuracy in meters with respect to latitude and longitude.
double
getLatitude()
Returns the GeospatialPose's latitude in degrees.
double
getLongitude()
Returns the GeospatialPose's longitude in degrees.
double
getOrientationYawAccuracy()
Returns the GeospatialPose's estimated orientation yaw angle accuracy.
double
getVerticalAccuracy()
Returns the GeospatialPose's estimated altitude accuracy in meters.

Inherited Methods

Public Methods