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
Swift code snippet:
Objective C code snippet:
Definition at line 68 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].
Swift code snippet:
Objective C code snippet:
Definition at line 88 of file NCPosition.h.
|
readnonatomicassign |
Heading accuracy in radians.
Swift code snippet:
Objective C code snippet:
Definition at line 102 of file NCPosition.h.
|
readnonatomicassign |
Similiar to heading but with respect to sublocation north (top of the image)
Swift code snippet:
Objective C code snippet:
Definition at line 130 of file NCPosition.h.
|
readnonatomicassign |
position in metrics coordinates at calculated location and sublocation NCLocationPoint
Swift code snippet:
Objective C code snippet:
Definition at line 116 of file NCPosition.h.
|
readnonatomicassign |
position in WGS84 coordinates.
Swift code snippet:
Objective C code snippet:
Definition at line 54 of file NCPosition.h.