|
| 1 | +// AUTOGENERATED FILE - DO NOT MODIFY! |
| 2 | +// This file was generated by Djinni from route_options.djinni |
| 3 | + |
| 4 | +#import "NCExport.h" |
| 5 | +#import <Foundation/Foundation.h> |
| 6 | + |
| 7 | +DEFAULT_EXPORT_ATTRIBUTE |
| 8 | +@interface NCRouteOptions : NSObject |
| 9 | +- (nonnull instancetype)initWithSmoothRadius:(nullable NSNumber *)smoothRadius |
| 10 | + maxProjectionDistance:(nullable NSNumber *)maxProjectionDistance |
| 11 | + maxAdvance:(nullable NSNumber *)maxAdvance; |
| 12 | ++ (nonnull instancetype)routeOptionsWithSmoothRadius:(nullable NSNumber *)smoothRadius |
| 13 | + maxProjectionDistance:(nullable NSNumber *)maxProjectionDistance |
| 14 | + maxAdvance:(nullable NSNumber *)maxAdvance; |
| 15 | + |
| 16 | +/** |
| 17 | + * This parameter controls if the resulting route should be smoothed for better |
| 18 | + * user experience. It can be considered as the maximum distance (in meters) |
| 19 | + * by which the smoothed route can deviate from the original route. The original |
| 20 | + * route follows exactly the edges of the route graph. If you don't want the route |
| 21 | + * to be smoothed, use value 0. Default value is 0. |
| 22 | + */ |
| 23 | +@property (nonatomic, readonly, nullable) NSNumber * smoothRadius; |
| 24 | + |
| 25 | +/** |
| 26 | + * This parameter controls the router behaviour in case if the position essentially |
| 27 | + * deviates from the proposed route. If the position deviates more than the specified |
| 28 | + * distance (in meters), then the route will be rebuilt. You should not set the |
| 29 | + * maxProjectionDistance value too low. The reasonable interval of values is [3, 10]. |
| 30 | + * Default value is 5. |
| 31 | + */ |
| 32 | +@property (nonatomic, readonly, nullable) NSNumber * maxProjectionDistance; |
| 33 | + |
| 34 | +/** |
| 35 | + * This parameter controls the maximum distance (in meters) that a position can advance |
| 36 | + * along the route between the two consecutive navigation solutions separated in time |
| 37 | + * by 1 second. If this constraint is broken, the route will be completely rebuilt. |
| 38 | + * The reasonable interval of values is [1, 3]. Default value is 2. |
| 39 | + */ |
| 40 | +@property (nonatomic, readonly, nullable) NSNumber * maxAdvance; |
| 41 | + |
| 42 | +@end |
0 commit comments