IARoutingLeg Class Reference

Inherits from NSObject
Declared in wayfinding.h
wayfinding.mm

Overview

Represents one leg in the route.

  begin

The beginning point of the route.

@property (readonly) IARoutingPoint *begin

Discussion

The beginning point of the route.

Declared In

wayfinding.h

  end

The end point of the route.

@property (readonly) IARoutingPoint *end

Discussion

The end point of the route.

Declared In

wayfinding.h

  length

Length of the leg in meters.

@property (readonly) double length

Discussion

Length of the leg in meters.

Declared In

wayfinding.h

  direction

Direction of the leg in degrees. North is marked with 0 degrees and direction rotates clockwise i.e. 90 degrees is East, 180 degrees is South and 270 degrees is West.

@property (readonly) double direction

Discussion

Direction of the leg in degrees. North is marked with 0 degrees and direction rotates clockwise i.e. 90 degrees is East, 180 degrees is South and 270 degrees is West.

Declared In

wayfinding.h

  edgeIndex

Index (NSUinteger) of the edge in the original graph. The value is null of edge not found from the graph.

@property (readonly) NSNumber *edgeIndex

Discussion

Index (NSUinteger) of the edge in the original graph. The value is null of edge not found from the graph.

Declared In

wayfinding.h