CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
Public Member Functions | List of all members
com.cartotype.TimeAndDistanceMatrix Class Reference

Public Member Functions

native int fromCount ()
 
native int toCount ()
 
native int time (int aFromIndex, int aToIndex)
 
native int distance (int aFromIndex, int aToIndex)
 

Detailed Description

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

Member Function Documentation

◆ distance()

native int com.cartotype.TimeAndDistanceMatrix.distance ( int  aFromIndex,
int  aToIndex 
)

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

◆ fromCount()

native int com.cartotype.TimeAndDistanceMatrix.fromCount ( )

Returns the number of 'from' points.

◆ time()

native int com.cartotype.TimeAndDistanceMatrix.time ( int  aFromIndex,
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.

◆ toCount()

native int com.cartotype.TimeAndDistanceMatrix.toCount ( )

Returns the number of 'to' points.


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