SYRouteSegment Class Reference

Represents a single continuous part of the current route. More...

#import <SYRouting.h>

Inheritance diagram for SYRouteSegment:
Collaboration diagram for SYRouteSegment:

Instance Methods

(nonnull instancetype) - initWithStartPosition:length:
 

Properties

SYDistance startPosition
 Distance in meters from the route start point to the start of the segment. More...
 
SYDistance length
 Length in meters of the route segment. More...
 

Detailed Description

Represents a single continuous part of the current route.

Method Documentation

◆ initWithStartPosition:length:

- (nonnull instancetype) initWithStartPosition: (SYDistance)  startPosition
length: (SYDistance)  length 

Property Documentation

◆ startPosition

- (SYDistance) startPosition
readwritenonatomicassign

Distance in meters from the route start point to the start of the segment.

◆ length

- (SYDistance) length
readwritenonatomicassign

Length in meters of the route segment.


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