VehicleDimensions
public struct VehicleDimensions
Describes dimensions of the vehicle.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public init ( weight: Measurement<UnitMass>? = nil, axleWeight: Measurement<UnitMass>? = nil, length: Measurement<UnitLength>? = nil, width: Measurement<UnitLength>? = nil, height: Measurement<UnitLength>? = nil ) throwsParameters
weightSpecifies the weight of the vehicle, typically in kilograms.
axleWeightSpecifies the weight per axle of the vehicle, typically in kg.
lengthSpecifies the length of the vehicle including the length of any additional equipment, e.g., trailers, bike racks, etc.
widthSpecifies the width of the vehicle.
heightSpecifies the height of the vehicle.
-
Specifies the weight of the vehicle, typically in kilograms.
Declaration
Swift
public let weight: Measurement<UnitMass>? -
Specifies the weight per axle of the vehicle, typically in kg.
Declaration
Swift
public let axleWeight: Measurement<UnitMass>? -
Specifies the length of the vehicle.
Declaration
Swift
public let length: Measurement<UnitLength>? -
Specifies the width of the vehicle.
Declaration
Swift
public let width: Measurement<UnitLength>? -
Specifies the height of the vehicle.
Declaration
Swift
public let height: Measurement<UnitLength>?
VehicleDimensions Structure Reference