CostingOptionsTruck

Objective-C

struct CostingOptionsTruck {}

Swift

struct CostingOptionsTruck

Options for truck mode

  • Road options

    Declaration

    Objective-C

    CostingOptionsRoad road

    Swift

    var road: CostingOptionsRoad
  • Vehicle options

    Declaration

    Objective-C

    CostingOptionsVehicle vehicle

    Swift

    var vehicle: CostingOptionsVehicle
  • The length of the truck (in meters). Default 21.64.

    Declaration

    Objective-C

    float length

    Swift

    var length: Float
  • The weight of the truck (in metric tons). Default 21.77.

    Declaration

    Objective-C

    float weight

    Swift

    var weight: Float
  • The axle load of the truck (in metric tons). Default 9.07.

    Declaration

    Objective-C

    float axleLoad

    Swift

    var axleLoad: Float
  • The axle count of the truck. Default 5.

    Declaration

    Objective-C

    float axleCount

    Swift

    var axleCount: Float
  • A value indicating if the truck is carrying hazardous materials. Default false.

    Declaration

    Objective-C

    _Bool hazmat

    Swift

    var hazmat: Bool