sdk-routing / com.tomtom.online.sdk.routing.data / RouteQueryBuilder / withFuelEnergyDensityInMJoulesPerLiter

withFuelEnergyDensityInMJoulesPerLiter

fun withFuelEnergyDensityInMJoulesPerLiter(fuelEnergyDensityInMJoulesPerLiter: Double): RouteQueryBuilder

Overrides IRouteQuery.withFuelEnergyDensityInMJoulesPerLiter

Specifies the amount of chemical energy stored in one liter of fuel in megajoules (MJ). It is used in conjunction with the *Efficiency parameters for conversions between saved or consumed energy and fuel. For example, energy density is 34.2 MJ/l for gasoline, and 35.8 MJ/l for Diesel fuel. Applicable only for combustion engines.

Parameters

fuelEnergyDensityInMJoulesPerLiter -

Return
reference to the common params object