VehicleDimensions

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)

The dimensions of a vehicle.

Note: The parameters axleWeight, length, width, height and numberOfAxles are not supported with the Orbis map.

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

The weight per axle of the vehicle.

Link copied to clipboard
val height: Distance? = null

The height of the vehicle.

Link copied to clipboard
val length: Distance? = null

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

The number of axles on the vehicle.

Link copied to clipboard
Link copied to clipboard
val weight: Weight? = null

The weight of the vehicle. The overall gross weight of the whole assembly (e.g., trailers, bike racks, etc.).

Link copied to clipboard
val width: Distance? = null

The width of the vehicle.

Functions

Link copied to clipboard
operator fun component1(): Weight?
Link copied to clipboard
operator fun component2(): Weight?
Link copied to clipboard
operator fun component3(): Distance?
Link copied to clipboard
operator fun component4(): Distance?
Link copied to clipboard
operator fun component5(): Distance?
Link copied to clipboard
operator fun component6(): Int?
Link copied to clipboard
fun copy(weight: Weight? = this.weight, axleWeight: Weight? = this.axleWeight, length: Distance? = this.length, width: Distance? = this.width, height: Distance? = this.height, numberOfAxles: Int? = this.numberOfAxles): VehicleDimensions

Creates a copy of this VehicleDimensions object.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String