OYMRouteProjectedPoint Class Reference
Inherits from | OYMRoutePoint : NSObject |
---|---|
Declared in | OYMRouteProjectedPoint.h OYMRouteProjectedPoint.m |
distanceFromStart
Distance in meters from the starting point
@property (readonly) NSNumber *distanceFromStart
Declared In
OYMRouteProjectedPoint.h
distanceToShape
Distance between the user position and the shape
@property (readonly) NSNumber *distanceToShape
Declared In
OYMRouteProjectedPoint.h
bearing
Orientation of the route segment in which the user is, counted clockwise from north
@property (readonly) NSNumber *bearing
Declared In
OYMRouteProjectedPoint.h
wrongDirection
Flag telling whether the user has been going in the wrong direction
@property (readonly) BOOL wrongDirection
Declared In
OYMRouteProjectedPoint.h
endRoute
Flag telling whether the user has reached the end of the route
@property (readonly) BOOL endRoute
Declared In
OYMRouteProjectedPoint.h
– initWithX:andY:andFloorNumber:andBuildingId:andDistanceFromStart:andDistanceToShape:andBearing:
RouteProjectedPoint constructor.
- (instancetype)initWithX:(NSNumber *)_x andY:(NSNumber *)_y andFloorNumber:(NSNumber *)_floorNumber andBuildingId:(NSString *)_building andDistanceFromStart:(NSNumber *)_distanceStart andDistanceToShape:(NSNumber *)_distanceShape andBearing:(NSNumber *)_bearingAngle
Parameters
_x |
WGS84 Longitude |
---|---|
_y |
WGS84 Latitude |
_floorNumber |
Floor number |
_building |
Building ID |
_distanceStart |
Distance in meters from the starting point |
_distanceShape |
Distance between the user position and the shape |
_bearingAngle |
Bearing, counted clockwise from north |
Declared In
OYMRouteProjectedPoint.h
– initWithLatitude:andLongitude:andBuilding:andFloorNumber:andDistanceFromStart:andDistanceToShape:andBearing:
RouteProjectedPoint constructor.
- (instancetype)initWithLatitude:(NSNumber *)_latitude andLongitude:(NSNumber *)_longitude andBuilding:(NSString *)_building andFloorNumber:(NSNumber *)_floorNumber andDistanceFromStart:(NSNumber *)_distanceStart andDistanceToShape:(NSNumber *)_distanceShape andBearing:(NSNumber *)_bearingAngle
Parameters
_latitude |
WGS84 Latitude |
---|---|
_longitude |
WGS84 Longitude |
_building |
Building ID |
_floorNumber |
Floor number |
_distanceStart |
Distance in meters from the starting point |
_distanceShape |
Distance between the user position and the shape |
_bearingAngle |
Bearing, counted clockwise from north |
Declared In
OYMRouteProjectedPoint.h