Package globus.glroute
Class CostingOptions.Vehicle
java.lang.Object
globus.glroute.CostingOptions
globus.glroute.CostingOptions.Vehicle
- Enclosing class:
- CostingOptions
Options for vehicle
-
Nested Class Summary
Nested classes/interfaces inherited from class globus.glroute.CostingOptions
CostingOptions.Auto, CostingOptions.Bicycle, CostingOptions.Motorcycle, CostingOptions.MotorScooter, CostingOptions.Pedestrian, CostingOptions.Penalties, CostingOptions.Road, CostingOptions.Straight, CostingOptions.Truck, CostingOptions.Vehicle
-
Field Summary
Modifier and TypeFieldDescriptionboolean
A boolean value which indicates the desire to avoid routes with cash-only tolls.boolean
This value indicates whether or not the path may include unpaved roads.float
The height of the vehicle (in meters).boolean
A boolean value which indicates the desire to include tolled HOV roads which require the driver to pay a toll if the occupant requirement isn't met.boolean
A boolean value which indicates the desire to include HOV roads with a 2-occupant requirement in the route when advantageous.boolean
A boolean value which indicates the desire to include HOV roads with a 3-occupant requirement in the route when advantageous.float
The width of the vehicle (in meters). -
Constructor Summary
-
Method Summary
Methods inherited from class globus.glroute.CostingOptions
getJson, initFromJson
-
Field Details
-
height
public float heightThe height of the vehicle (in meters). Default 1.9 for car, bus, taxi and 4.11 for truck. -
width
public float widthThe width of the vehicle (in meters). Default 1.6 for car, bus, taxi and 2.6 for truck. -
excludeUnpaved
public boolean excludeUnpavedThis value indicates whether or not the path may include unpaved roads. If exclude_unpaved is set to 1 it is allowed to start and end with unpaved roads, but is not allowed to have them in the middle of the route path, otherwise they are allowed. Default false. -
excludeCashOnlyTolls
public boolean excludeCashOnlyTollsA boolean value which indicates the desire to avoid routes with cash-only tolls. Default false. -
include_hov2
public boolean include_hov2A boolean value which indicates the desire to include HOV roads with a 2-occupant requirement in the route when advantageous. Default false. -
include_hov3
public boolean include_hov3A boolean value which indicates the desire to include HOV roads with a 3-occupant requirement in the route when advantageous. Default false. -
include_hot
public boolean include_hotA boolean value which indicates the desire to include tolled HOV roads which require the driver to pay a toll if the occupant requirement isn't met. Default false.
-
-
Constructor Details
-
Vehicle
public Vehicle()
-
-
Method Details
-
write
- Throws:
IOException
-