VehicleDimensions

data class VehicleDimensions(    val weight: Weight? = null,     val axleWeight: Weight? = null,     val length: Distance? = null,     val width: Distance? = null,     val height: Distance? = null,     val numberOfAxles: Int? = null)

Specifies the dimensions of the vehicle.

Note: The parameters axleWeight, length, width, height and numberOfAxles are not yet supported with the Orbis map. Note: The parameter weight is supported with the Orbis map only when chargingOptions are set in com.tomtom.sdk.routing.options.RoutePlanningOptions.

Constructors

Link copied to clipboard
constructor(    weight: Weight? = null,     axleWeight: Weight? = null,     length: Distance? = null,     width: Distance? = null,     height: Distance? = null,     numberOfAxles: Int? = null)

Properties

Link copied to clipboard
val axleWeight: Weight? = null

Specifies the weight per axle of the vehicle, e.g. in kg.

Link copied to clipboard
val height: Distance? = null

Specifies the height of the vehicle.

Link copied to clipboard
val length: Distance? = null

Specifies the length of the vehicle including the length of any additional equipment, e.g. trailers, bike racks, etc.

Link copied to clipboard
val numberOfAxles: Int? = null

Specifies the number of vehicle axles.

Link copied to clipboard
val weight: Weight? = null

Specifies the weight of the vehicle, for example in kilograms.

Link copied to clipboard
val width: Distance? = null

Specifies the width of the vehicle.