Package globus.glroute
Class CostingOptions.Truck
java.lang.Object
globus.glroute.CostingOptions
globus.glroute.CostingOptions.Truck
- Enclosing class:
 - CostingOptions
 
Options for truck mode
- 
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
FieldsModifier and TypeFieldDescriptionfloatThe axle count of the truck.floatThe axle load of the truck (in metric tons).booleanA value indicating if the truck is carrying hazardous materials.floatThe length of the truck (in meters).Road optionsVehicle optionsfloatThe weight of the truck (in metric tons). - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class globus.glroute.CostingOptions
getJson, initFromJson 
- 
Field Details
- 
road
Road options - 
vehicle
Vehicle options - 
length
public float lengthThe length of the truck (in meters). Default 21.64. - 
weight
public float weightThe weight of the truck (in metric tons). Default 21.77. - 
axleLoad
public float axleLoadThe axle load of the truck (in metric tons). Default 9.07. - 
axleCount
public float axleCountThe axle count of the truck. Default 5. - 
hazmat
public boolean hazmatA value indicating if the truck is carrying hazardous materials. Default false. 
 - 
 - 
Constructor Details
- 
Truck
public Truck()Empty constructor 
 - 
 - 
Method Details
- 
write
- Throws:
 IOException
 
 -