SYBetterRoute Class Reference

Provides information about better alternative calculated route. More...

#import <SYNavigationBetterRouteInfo.h>

Inheritance diagram for SYBetterRoute:
Collaboration diagram for SYBetterRoute:

Instance Methods

(instancetype) - initWithRouteInfo:
 
- Instance Methods inherited from SYRoute
(nonnull NSSet< NSNumber * > *) - availableAvoidsInCountry:
 Returns set of road avoids available in specified country. More...
 
(void) - getRoadElementsWithCompletion:
 The SYRoadElements on the route. More...
 
(instancetype) - initWithSdkRoute: [implementation]
 

Properties

NSTimeInterval timeDiff
 Time difference in seconds between new alternative route and the base route. More...
 
SYDistance lengthDiff
 Length difference in meters between new alternative route and the base route. More...
 
SYDistance splitDistance
 Distance in meters from base route start position to point, where alternative route splits. More...
 
SYGeoBoundingBoxdetourAreaboundary
 Geo boundary created with split point and merge point of base route and alternative route. More...
 
SYGeoCoordinatesplitPoint
 Position of the point where alternative route splits the base route. More...
 
- Properties inherited from SYRoute
SYRouteInfoinfo
 Basic route info. More...
 
NSArray< SYManeuver * > * maneuvers
 The SYManeuvers on the route. More...
 
NSArray< SYCountryIso * > * transitCountries
 Returns route's transit countries iso codes. More...
 
SYRouteViolatedAvoidOptionsoptionsViolation
 The routing options violation for both global route options and per-country options. More...
 
SYRoutingOptionsoptions
 The routing options. Check the available SYRoutingOptions. More...
 
SYGeoBoundingBoxbox
 The smallest SYGeoBoundingBox that contains the entire route. More...
 
NSArray< SYWaypoint * > * waypoints
 List of SYWaypoints on the route. More...
 
Sygic::Router::RoutePtr sdkRoutePtr [implementation]
 

Detailed Description

Provides information about better alternative calculated route.

Method Documentation

◆ initWithRouteInfo:()

- (instancetype) initWithRouteInfo: (const Sygic::Navigation::AlternativeRouteInfo &)  info

Provided by category SYBetterRoute(SDK).

Property Documentation

◆ detourAreaboundary

- (SYGeoBoundingBox*) detourAreaboundary
readnonatomicassign

Geo boundary created with split point and merge point of base route and alternative route.

◆ lengthDiff

- (SYDistance) lengthDiff
readnonatomicassign

Length difference in meters between new alternative route and the base route.

◆ splitDistance

- (SYDistance) splitDistance
readnonatomicassign

Distance in meters from base route start position to point, where alternative route splits.

◆ splitPoint

- (SYGeoCoordinate*) splitPoint
readnonatomicassign

Position of the point where alternative route splits the base route.

◆ timeDiff

- (NSTimeInterval) timeDiff
readnonatomicassign

Time difference in seconds between new alternative route and the base route.


The documentation for this class was generated from the following file: