IARouteLeg Class Reference

Inherits from NSObject
Declared in IALocationManager.h

Overview

Object representing the line segment between two IARoutePoints. Includes the distance and direction of the segment as well as the start and end points.

  begin

The IARoutePoint representing the beginning of this leg.

@property (nonatomic, readonly, nonnull) IARoutePoint *begin

Declared In

IALocationManager.h

  end

The IARoutePoint representing the end of this leg.

@property (nonatomic, readonly, nonnull) IARoutePoint *end

Declared In

IALocationManager.h

  length

Length of the line segment in meters.

@property (nonatomic, readonly) double length

Declared In

IALocationManager.h

  direction

Direction of the line segment in ENU coordinates in degrees. 0 is North and 90 is East.

@property (nonatomic, readonly) double direction

Declared In

IALocationManager.h

  edgeIndex

Zero-based index of the edge corresponding to this leg in the original JSON graph. If this is a virtual leg, for example, a segment connecting an off-graph starting point to the graph, edgeIndex will be -1.

@property (nonatomic, readonly) NSUInteger edgeIndex

Declared In

IALocationManager.h