Loading...
Searching...
No Matches
Position Class Reference

Class describing user's position. More...

Public Member Functions

 Position (this.point, this.accuracy, this.heading, this.headingAccuracy, this.locationPoint, this.locationHeading)
 Default constructor.
 

Public Attributes

GlobalPoint point
 position in WGS84 coordinates.
 
double accuracy
 
double heading
 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 headingAccuracy
 Heading accuracy in radians.
 
LocationPoint locationPoint
 position in metrics coordinates at calculated location and sublocation LocationPoint
 
double locationHeading
 Similiar to heading but with respect to sublocation north (top of the image)
 

Detailed Description

Class describing user's position.

Referenced from: NavigationManager, PositionListener.

Definition at line 21 of file position.dart.

Constructor & Destructor Documentation

◆ Position()

Position.Position ( this. point,
this. accuracy,
this. heading,
this. headingAccuracy,
this. locationPoint,
this. locationHeading )

Default constructor.

Member Data Documentation

◆ accuracy

double Position.accuracy

Position accuracy in meters

Definition at line 31 of file position.dart.

◆ heading

double Position.heading

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].

Definition at line 41 of file position.dart.

◆ headingAccuracy

double Position.headingAccuracy

Heading accuracy in radians.

Definition at line 45 of file position.dart.

◆ locationHeading

double Position.locationHeading

Similiar to heading but with respect to sublocation north (top of the image)

Definition at line 53 of file position.dart.

◆ locationPoint

LocationPoint Position.locationPoint

position in metrics coordinates at calculated location and sublocation LocationPoint

Definition at line 49 of file position.dart.

◆ point

GlobalPoint Position.point

position in WGS84 coordinates.

Definition at line 27 of file position.dart.


The documentation for this class was generated from the following file: