HERE Android SDK Developer's Guide

ARPoseReading

The class ARPoseReading is a member of com.here.android.mpa.ar .

Class Summary

public final class ARPoseReading

extends java.lang.Object

Represents a model class comprising the latitude, longitude, altitude, pitch, heading, roll and time stamp for the current AR pose.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in ARPoseReading
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public float getAltitude ()

Get the altitude in meters as height above the WGS84 ellipsoid.

public float getHeading ()

Get the y-axis rotation in radians.

public double getLatitude ()

Get the latitude in WGS84 degrees.

public double getLongitude ()

Get the longitude in WGS84 degrees.

public float getPitch ()

Get the x-axis rotation (pitch) in radians.

public float getRoll ()

Get the z-axis rotation (roll) in radians.

public long getTimestamp ()

Get a timestamp indicating the time at which the pose reading was taken.

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents a model class comprising the latitude, longitude, altitude, pitch, heading, roll and time stamp for the current AR pose. This object can be retrieved by calling getPose().

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public float getAltitude ()

Get the altitude in meters as height above the WGS84 ellipsoid.

public float getHeading ()

Get the y-axis rotation in radians.

public double getLatitude ()

Get the latitude in WGS84 degrees.

public double getLongitude ()

Get the longitude in WGS84 degrees.

public float getPitch ()

Get the x-axis rotation (pitch) in radians.

public float getRoll ()

Get the z-axis rotation (roll) in radians.

public long getTimestamp ()

Get a timestamp indicating the time at which the pose reading was taken.

public int hashCode ()

For documentation, see java.lang.Object