copy
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
Deprecated
This will be removed 6 months after the next release.
Replace with
Use constructor to create the copy
Content copied to clipboard
Creates a copy of this VehicleDimensions object.
Return
The copied VehicleDimensions object.
Parameters
weight
The weight of the vehicle.
axleWeight
The weight per axle of the vehicle.
length
The length of the vehicle including the length of any additional equipment, e.g., trailers, bike racks, etc.
width
The width of the vehicle.
height
The height of the vehicle.
numberOfAxles
The number of axles on the vehicle.