Class IWRoute

A class representing a route segment object

Author: JAN

Constructor Summary
IWRoute()
            Creates a new router segment object
 
Method Summary
 void addEntry(entry)
           Adds a new entry to the route.
 IWBounds getBounds()
           Returns the bounds of this route.
 IWAddress getDestinationAddress()
           Returns the destination address.
 int getDrivingTime()
           Returns the driving time in seconds.
 IWRouteEntry getEntry(index)
           Returns the route entry at the specified index.
 double getFuelConsumption()
           Returns the total fuel consumption in liters.
 IWAddress[] getInterstationAddresses()
           Returns the interstation addresses.
 double getRouteLength()
           Returns the total route length in kilometers.
 int getSegments()
           Returns the number of route entries.
 void getShape()
           Returns the name of the shape file
 IWAddress getStartAddress()
           Returns the start address.
 void setBounds(bounds)
           Sets the bounds of this route.
 void setDestinationAddress()
           Sets the destination address.
 void setDrivingTime(drivingTime)
           Sets the driving time in seconds.
 void setFuelConsumption(fuelConsumption)
           Sets the total fuel consumption in liters.
 void setInterstationAddresses(interstationAddresses)
           Sets the interstation addresses.
 void setRouteLength(routeLength)
           Sets the total route length in kilometers.
 void setShape(shape)
           Sets the name of the shape file.
 void setStartAddress(address)
           Sets the start address.
 String toString()
           Returns a string representation of this object.
 
Constructor Detail

IWRoute

IWRoute()

Method Detail

addEntry

void addEntry(entry)

getBounds

IWBounds getBounds()

getDestinationAddress

IWAddress getDestinationAddress()

getDrivingTime

int getDrivingTime()

getEntry

IWRouteEntry getEntry(index)

getFuelConsumption

double getFuelConsumption()

getInterstationAddresses

IWAddress[] getInterstationAddresses()

getRouteLength

double getRouteLength()

getSegments

int getSegments()

getShape

void getShape()

getStartAddress

IWAddress getStartAddress()

setBounds

void setBounds(bounds)

setDestinationAddress

void setDestinationAddress()

setDrivingTime

void setDrivingTime(drivingTime)

setFuelConsumption

void setFuelConsumption(fuelConsumption)

setInterstationAddresses

void setInterstationAddresses(interstationAddresses)

setRouteLength

void setRouteLength(routeLength)

setShape

void setShape(shape)

setStartAddress

void setStartAddress(address)

toString

String toString()

Source-Code Copyright 2007-2009 infoware GmbH - Documentation generated by JsDoc Toolkit 1.4.1 on Tue Nov 28 2017 09:51:50 GMT+0100 (MEZ)