Class describing user's position.
More...
|
| 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.
◆ Position()
com.navigine.idl.java.Position.Position |
( |
GlobalPoint | point, |
|
|
double | accuracy, |
|
|
Double | heading, |
|
|
Double | headingAccuracy, |
|
|
LocationPoint | locationPoint, |
|
|
Double | locationHeading ) |
|
inline |
◆ getAccuracy()
double com.navigine.idl.java.Position.getAccuracy |
( |
| ) |
|
|
inline |
◆ getHeading()
Double com.navigine.idl.java.Position.getHeading |
( |
| ) |
|
|
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].
- Returns
Definition at line 72 of file Position.java.
◆ getHeadingAccuracy()
Double com.navigine.idl.java.Position.getHeadingAccuracy |
( |
| ) |
|
|
inline |
Heading accuracy in radians.
- Returns
Definition at line 79 of file Position.java.
◆ getLocationHeading()
Double com.navigine.idl.java.Position.getLocationHeading |
( |
| ) |
|
|
inline |
Similiar to heading
but with respect to sublocation north
(top of the image)
- Returns
Definition at line 93 of file Position.java.
◆ getLocationPoint()
LocationPoint com.navigine.idl.java.Position.getLocationPoint |
( |
| ) |
|
|
inline |
◆ getPoint()
GlobalPoint com.navigine.idl.java.Position.getPoint |
( |
| ) |
|
|
inline |
position in WGS84 coordinates.
- Returns
Definition at line 52 of file Position.java.
◆ toString()
String com.navigine.idl.java.Position.toString |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: