Class CostingOptions.Vehicle

java.lang.Object
globus.glroute.CostingOptions
globus.glroute.CostingOptions.Vehicle
Enclosing class:
CostingOptions

public static class CostingOptions.Vehicle extends CostingOptions
Options for vehicle
  • Field Details

    • height

      public float height
      The height of the vehicle (in meters). Default 1.9 for car, bus, taxi and 4.11 for truck.
    • width

      public float width
      The width of the vehicle (in meters). Default 1.6 for car, bus, taxi and 2.6 for truck.
    • excludeUnpaved

      public boolean excludeUnpaved
      This 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 excludeCashOnlyTolls
      A boolean value which indicates the desire to avoid routes with cash-only tolls. Default false.
    • include_hov2

      public boolean include_hov2
      A 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_hov3
      A 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_hot
      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. Default false.
  • Constructor Details

    • Vehicle

      public Vehicle()
  • Method Details