VisioMove SDK (Android)  2.1.22
 All Classes Functions Variables Pages
VgIRoute Class Reference
Inheritance diagram for VgIRoute:
Inheritance graph

Public Member Functions

double getLength ()
 
double getDuration ()
 
VgIntVector getDestinationIndices ()
 
VgIRouteRequestParameters getRequestParameters ()
 
- Public Member Functions inherited from VgReferenced
synchronized void release ()
 
 VgReferenced ()
 
 VgReferenced (VgReferenced pThis)
 
void ref ()
 
int unref ()
 
int getNbReferences ()
 

Detailed Description

VgIRoute represents a route object

Member Function Documentation

VgIntVector VgIRoute.getDestinationIndices ( )
Version
2.1.8
Returns
vector of destination indices corresponding to the actual visit order of destinations with relation to the route request order. Its size will always be >= 1.
double VgIRoute.getDuration ( )
Version
2.1.2
Returns
the route duration in seconds
double VgIRoute.getLength ( )
Version
1.1.6926
Returns
the route length in meters
VgIRouteRequestParameters VgIRoute.getRequestParameters ( )

Returns the parameters with which the route was computed. It can be used in conjunction with getDestinationIndices() to determine the real order the destinations will be visited, the first destination will be: route->getRouteRequestParamters().mDestinations[route-> getDestinationIndices() [0]]

Version
2.1.8
Returns
VgIRouteRequestParameters with which the route was computed. The mCallback will be NULLed to avoid circular dependencies.

The documentation for this class was generated from the following file:
VisioMove 2.1.22, Visioglobe® 2016