SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class representing a route segment object
Author: JANConstructor 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()
Method Detail |
void addEntry(entry)
IWRouteEntry entry
void
IWBounds getBounds()
IWBounds
IWAddress getDestinationAddress()
IWAddress
int getDrivingTime()
int
IWRouteEntry getEntry(index)
int index
IWRouteEntry
double getFuelConsumption()
double
IWAddress[] getInterstationAddresses()
IWAddress[]
double getRouteLength()
double
int getSegments()
int
void getShape()
void
IWAddress getStartAddress()
IWAddress
void setBounds(bounds)
IWBounds bounds
void
void setDestinationAddress()
IWAddress
void
void setDrivingTime(drivingTime)
int 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