Profile

constructor(profile: Profile)


constructor(height: Double = 0.0, length: Double = 0.0, width: Double = 0.0, weight: Double = 0.0, weightPerAxle: Double = 0.0, nbTrailers: Int = -1, hazmat: Hazmat = Hazmat.NONE, adr: AdrTunnelCat = AdrTunnelCat.NONE, maxSpeed: Double = 0.0, transportationMode: TranspMode = TranspMode.PASSENGER_CAR, drivingProfile: DrivingProfile = DrivingProfile(), speedProfile: SpeedProfile = SpeedProfile(), encryptedDatasheet: String? = null, onlyPhysical: Boolean = false)

Parameters

height

height of the vehicle (in m)

length

length of the vehicle (in m)

width

width of the vehicle (in m)

weight

total vehicle weight (in metric ton)

weightPerAxle

vehicle weight for each axle (in metric ton)

nbTrailers

amount of trailers

hazmat

hazardous material type

adr

ADR tunnel category (European Agreement concerning the International Carriage of Dangerous Goods by Road)

maxSpeed

maximum vehicle speed (in km/h)

transportationMode

transportation mode assigned to given model

drivingProfile

driving profile of the model

encryptedDatasheet

datasheet containing additional encrypted information of given vehicle model

onlyPhysical

defines if vehicle's weight (weight, weight per axle) and hazmat (hazmat and ADR) should be ignored outside respectively bridges and tunnels (default is false)