| CartoType iOS API 9.2-12-g6c2dcf66f
    for development in Swift and Objective C for iOS and Mac OS | 
#import <CartoTypeRouter.h>
 
  
| Instance Methods | |
| (id) | - initWithRouteSegmentObject: | 
| (CtFeatureInfo *) | - featureInfo | 
| (NSString *) | - name | 
| (NSString *) | - ref | 
| (NSString *) | - destination | 
| (double) | - distance | 
| (double) | - time | 
| (double) | - turnTime | 
| (CtTurnType) | - turnType | 
| (bool) | - isContinue | 
| (CtRoundaboutState) | - roundaboutState | 
| (double) | - turnAngle | 
| (int) | - exitNumber | 
| (int) | - choices | 
| (int) | - contourCount | 
| (int) | - pointCount: | 
| (CtPathPoint) | - point:pointIndex: | 
| (int) | - section | 
| (NSString *) | - instructions | 
| (int) | - contourCount | 
| (int) | - pointCount: | 
| (CtPathPoint) | - point:pointIndex: | 
A route segment. All segments except the first start at a turn (a junction).
| - (int) choices | 
Returns the number of choices at this turning if known; 0 if not known.
| - (int) contourCount | 
Returns the number of contours (sub-paths) in the path.
Reimplemented from <CtPath>.
| - (NSString *) destination | 
The destination of the road.
| - (double) distance | 
Returns the distance of the segment in meters.
| - (int) exitNumber | 
Returns the exit number, counting the current junction as 0, if the junction at the start of the segment is part of a roundabout.
| - (CtFeatureInfo *) featureInfo | 
The road type. 
 
| - (id) initWithRouteSegmentObject: | (void *) | aRouteSegmentObject | 
Initializes a CtRouteSegment with a C++ route segment object; for internal use only.
| - (NSString *) instructions | 
Returns turn instructions provided by the routing system. If not empty they are used instead of instructions generated from the information in this CtRouteSegment object.
| - (bool) isContinue | 
Returns true if this is a 'continue' turn, false if not.
| - (NSString *) name | 
The road name.
| - (CtPathPoint) point: | (int) | aContourIndex | |
| pointIndex: | (int) | aPointIndex | |
Returns a point, given its contour index and point index.
Reimplemented from <CtPath>.
| - (int) pointCount: | (int) | aContourIndex | 
Returns the number of points in a certain contour.
Reimplemented from <CtPath>.
| - (NSString *) ref | 
The road reference.
| - (CtRoundaboutState) roundaboutState | 
Returns the roundabout state.
| - (int) section | 
Returns the route section this route segment belongs to.
| - (double) time | 
Returns the estimated time taken to traverse the segment in seconds, including the turn time returned by the turnTime method.
| - (double) turnAngle | 
Returns the turn angle.
| - (double) turnTime | 
Returns the estimated time in seconds for the turn at the start of the segment; this is included in the value returned by the time method.
| - (CtTurnType) turnType | 
Returns the turn type.