-
Notifications
You must be signed in to change notification settings - Fork 5
Class NCPosition
PavelTychinin edited this page Jul 18, 2024
·
3 revisions
NCPosition class describing user's position.
Referenced from: NCPositionListener.
@interface NCPosition : NSObject
- (nonnull instancetype)initWithPoint:(nonnull NCGlobalPoint *)point
accuracy:(double)accuracy
heading:(nullable NSNumber *)heading
locationPoint:(nullable NCLocationPoint *)locationPoint
locationHeading:(nullable NSNumber *)locationHeading;
+ (nonnull instancetype)positionWithPoint:(nonnull NCGlobalPoint *)point
accuracy:(double)accuracy
heading:(nullable NSNumber *)heading
locationPoint:(nullable NCLocationPoint *)locationPoint
locationHeading:(nullable NSNumber *)locationHeading;
@property (nonatomic, readonly, nonnull) NCGlobalPoint * point;
@property (nonatomic, readonly) double accuracy;
@property (nonatomic, readonly, nullable) NSNumber * heading;
@property (nonatomic, readonly, nullable) NCLocationPoint * locationPoint;
@property (nonatomic, readonly, nullable) NSNumber * locationHeading;
@end
-
point
- Position in WGS84 coordinates -
accuracy
- Position accuracy in meters -
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]. -
locationPoint
- Position in metrics coordinates at calculated location and sublocation -
locationHeading
- Similiar toheading
but with respect tosublocation north
(top of the image)
Tutorials
Classes
- NCNavigineSdk
- NCLocationListManager
- NCLocationManager
- NCNavigationManager
- NCRouteManager
- NCZoneManager
- NCNotificationManager
- NCMeasurementManager
- NCLocationEditManager
- NCResourceManager
- NCLocation
- NCSublocation
- NCCategory
- NCVenue
- NCZone
- NCBeacon
- NCEddystone
- NCWifi
- NCLocationView
- NCGestureRecognizerDelegate
- NCCircleMapObject
- NCLineMapObject
- NCLocationListListener
- NCLocationListener
- NCPositionListener
- NCRouteListener
- NCZoneListener
- NCNotificationListener
- NCLocationEditListener
- NCMeasurementListener
- NCResourceListener
- NCResourceUploadListener
- NCNotification
- NCPosition
- NCSignalMeasurement
- NCSensorMeasurement
- NCImage
- NCRoutePath
- NCRouteEvent
- NCLocationPoint
- NCLocationInfo
- NCBitmapRegionDecoder