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 | |
NCGlobalPoint * | point |
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. | |
NCLocationPoint * | locationPoint |
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) | |
Class describing user's position.
Referenced from: NavigationManager, PositionListener.
Definition at line 20 of file NCPosition.h.
- (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.
+ (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.
|
readnonatomicassign |
Position accuracy in meters
Definition at line 50 of file NCPosition.h.
|
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.
|
readnonatomicassign |
Heading accuracy in radians.
Definition at line 66 of file NCPosition.h.
|
readnonatomicassign |
Similiar to heading
but with respect to sublocation north
(top of the image)
Definition at line 76 of file NCPosition.h.
|
readnonatomicassign |
position in metrics coordinates at calculated location and sublocation NCLocationPoint
Definition at line 71 of file NCPosition.h.
|
readnonatomicassign |
position in WGS84 coordinates.
Definition at line 45 of file NCPosition.h.