Class IWRoute

A class representing a route

This class is part of the module routing.


Constructor Summary
IWRoute()
            Creates a new route
 
Method Summary
 void addEntry(entry)
           Adds a new entry to the route.
 IWBounds getBounds()
           Returns the bounds of this route.
getCoordinates()
           undocumented
 IWAddress getDestinationAddress()
           Returns the destination address.
 number 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.
 number 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.
setCoordinates(coordinates)
           undocumented
 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()

getCoordinates

getCoordinates()

getDestinationAddress

IWAddress getDestinationAddress()

getDrivingTime

number getDrivingTime()

getEntry

IWRouteEntry getEntry(index)

getFuelConsumption

double getFuelConsumption()

getInterstationAddresses

IWAddress[] getInterstationAddresses()

getRouteLength

double getRouteLength()

getSegments

number getSegments()

getShape

void getShape()

getStartAddress

IWAddress getStartAddress()

setBounds

void setBounds(bounds)

setCoordinates

setCoordinates(coordinates)

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-2016 infoware GmbH - Documentation generated on Tue Nov 29 2022 14:20:15 GMT+0100 (MEZ)