Class describing user's position. More...
Public Member Functions | |
| Position (GlobalPoint point, double accuracy, Double heading, Double headingAccuracy, LocationPoint locationPoint, Double locationHeading) | |
| Default constructor for class Position. | |
| GlobalPoint | getPoint () |
| position in WGS84 coordinates. | |
| double | getAccuracy () |
| Double | getHeading () |
| Heading, angle of rotation about the -Z axis (in radians). This value represents the angle between the device's Y axis and the magnetic north pole. When facing north, this angle is 0, when facing south, this angle is pi. Likewise, when facing east, this angle is pi/2, and when facing west, this angle is -pi/2. The range of values is [-pi, pi]. | |
| Double | getHeadingAccuracy () |
| Heading accuracy in radians. | |
| LocationPoint | getLocationPoint () |
| position in metrics coordinates at calculated location and sublocation com.navigine.idl.java.LocationPoint | |
| Double | getLocationHeading () |
Similiar to heading but with respect to sublocation north (top of the image) | |
| String | toString () |
Class describing user's position.
Referenced from: NavigationManager, PositionListener.
Definition at line 16 of file Position.java.
|
inline |
Default constructor for class Position.
Definition at line 34 of file Position.java.
|
inline |
Java code snippet:
Kotlin code snippet:
Definition at line 77 of file Position.java.
|
inline |
Heading, angle of rotation about the -Z axis (in radians). This value represents the angle between the device's Y axis and the magnetic north pole. When facing north, this angle is 0, when facing south, this angle is pi. Likewise, when facing east, this angle is pi/2, and when facing west, this angle is -pi/2. The range of values is [-pi, pi].
Java code snippet:
Kotlin code snippet:
Definition at line 99 of file Position.java.
|
inline |
Heading accuracy in radians.
Java code snippet:
Kotlin code snippet:
Definition at line 115 of file Position.java.
|
inline |
Similiar to heading but with respect to sublocation north (top of the image)
Java code snippet:
Kotlin code snippet:
Definition at line 147 of file Position.java.
|
inline |
position in metrics coordinates at calculated location and sublocation com.navigine.idl.java.LocationPoint
Java code snippet:
Kotlin code snippet:
Definition at line 131 of file Position.java.
|
inline |
position in WGS84 coordinates.
Java code snippet:
Kotlin code snippet:
Definition at line 61 of file Position.java.
|
inline |
Definition at line 152 of file Position.java.