Loading...
Searching...
No Matches

Class describing user's position. More...

#include <com/navigine/idl/objc/NCPosition.h>

Inherits NSObject.

Instance Methods

(nonnull instancetype) - initWithPoint:accuracy:heading:headingAccuracy:locationPoint:locationHeading:
 Default constructor for class NCPosition.
 

Class Methods

(nonnull instancetype) + positionWithPoint:accuracy:heading:headingAccuracy:locationPoint:locationHeading:
 Factory method for class NCPosition.
 

Properties

NCGlobalPointpoint
 position in WGS84 coordinates.
 
double accuracy
 
NSNumber * 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].
 
NSNumber * headingAccuracy
 Heading accuracy in radians.
 
NCLocationPointlocationPoint
 position in metrics coordinates at calculated location and sublocation NCLocationPoint
 
NSNumber * 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 20 of file NCPosition.h.

Method Documentation

◆ initWithPoint:accuracy:heading:headingAccuracy:locationPoint:locationHeading:

- (nonnull instancetype) initWithPoint: (nonnull NCGlobalPoint *) point
accuracy: (double) accuracy
heading: (nullable NSNumber *) heading
headingAccuracy: (nullable NSNumber *) headingAccuracy
locationPoint: (nullable NCLocationPoint *) locationPoint
locationHeading: (nullable NSNumber *) locationHeading 

Default constructor for class NCPosition.

◆ positionWithPoint:accuracy:heading:headingAccuracy:locationPoint:locationHeading:

+ (nonnull instancetype) positionWithPoint: (nonnull NCGlobalPoint *) point
accuracy: (double) accuracy
heading: (nullable NSNumber *) heading
headingAccuracy: (nullable NSNumber *) headingAccuracy
locationPoint: (nullable NCLocationPoint *) locationPoint
locationHeading: (nullable NSNumber *) locationHeading 

Factory method for class NCPosition.

Property Documentation

◆ accuracy

- (double) accuracy
readnonatomicassign

Position accuracy in meters

Definition at line 50 of file NCPosition.h.

◆ heading

- (NSNumber*) heading
readnonatomicassign

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 61 of file NCPosition.h.

◆ headingAccuracy

- (NSNumber*) headingAccuracy
readnonatomicassign

Heading accuracy in radians.

Definition at line 66 of file NCPosition.h.

◆ locationHeading

- (NSNumber*) locationHeading
readnonatomicassign

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

Definition at line 76 of file NCPosition.h.

◆ locationPoint

- (NCLocationPoint*) locationPoint
readnonatomicassign

position in metrics coordinates at calculated location and sublocation NCLocationPoint

Definition at line 71 of file NCPosition.h.

◆ point

- (NCGlobalPoint*) point
readnonatomicassign

position in WGS84 coordinates.

Definition at line 45 of file NCPosition.h.


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