SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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()
Method Detail |
void addEntry(entry)
IWRouteEntry entry
void
IWBounds getBounds()
IWBounds
getCoordinates()
IWAddress getDestinationAddress()
IWAddress
number getDrivingTime()
number
IWRouteEntry getEntry(index)
number index
IWRouteEntry
double getFuelConsumption()
double
IWAddress[] getInterstationAddresses()
IWAddress[]
double getRouteLength()
double
number getSegments()
number
void getShape()
void
IWAddress getStartAddress()
IWAddress
void setBounds(bounds)
IWBounds bounds
void
setCoordinates(coordinates)
coordinates
void setDestinationAddress()
IWAddress
void
void setDrivingTime(drivingTime)
number drivingTime
void
void setFuelConsumption(fuelConsumption)
double fuelConsumption
void
void setInterstationAddresses(interstationAddresses)
IWAddress[] interstationAddresses
void
void setRouteLength(routeLength)
double routeLength
void
void setShape(shape)
String shape
void
void setStartAddress(address)
IWAddress address
void
String toString()
String