com.nutiteq.components
Class RouteSummary

java.lang.Object
  extended by com.nutiteq.components.RouteSummary

public class RouteSummary
extends java.lang.Object

Summary of the found route int directions service.


Constructor Summary
RouteSummary(DurationTime totalTime, Distance distance, WgsBoundingBox boundingBox)
           
 
Method Summary
 WgsBoundingBox getBoundingBox()
          Best view for full route
 Distance getDistance()
          Distance of this route
 DurationTime getTotalTime()
          Total time for the route
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouteSummary

public RouteSummary(DurationTime totalTime,
                    Distance distance,
                    WgsBoundingBox boundingBox)
Parameters:
totalTime - total time for the route
distance - distance of the route
boundingBox - bounding box for best view of full route
Method Detail

getTotalTime

public DurationTime getTotalTime()
Total time for the route

Returns:
route total time

getDistance

public Distance getDistance()
Distance of this route

Returns:
route distance

getBoundingBox

public WgsBoundingBox getBoundingBox()
Best view for full route

Returns:
bounding box for best view of the route