CartoType iOS API 8.10-3-g0075538f6
for development in Swift and Objective C for iOS and Mac OS
Instance Methods | Properties | List of all members
CartoTypeTimeAndDistanceMatrix Class Reference

#import <CartoTypeRouter.h>

Inheritance diagram for CartoTypeTimeAndDistanceMatrix:

Instance Methods

(int) - time:to:
 
(int) - distance:to:
 
(id) - initWithMatrix:
 

Properties

int fromCount
 
int toCount
 

Detailed Description

A matrix of route times and distances between sets of points.

Method Documentation

◆ distance:to:

- (int) distance: (int)  aFromIndex
to: (int)  aToIndex 

Returns the distance in metres along the best route from one of the 'from' points to one of the 'to' points.

◆ initWithMatrix:

- (id) initWithMatrix: (void *)  aMatrix

(for internal use) Initialises the object from a C++ object.

◆ time:to:

- (int) time: (int)  aFromIndex
to: (int)  aToIndex 

Returns the time in seconds taken to travel on the best route from one of the 'from' points to one of the 'to' points.

Property Documentation

◆ fromCount

- (int) fromCount
readnonatomicassign

Returns the number of 'from' points.

◆ toCount

- (int) toCount
readnonatomicassign

Returns the number of 'to' points.


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