@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.reachablerange.ReachableRangeSpecification") open class ReachableRangeQuery : CommonRequestQuery
The default implementation of the ReachableRangeQuery object which is used to prepare the query for the Routing API.
ReachableRangeQuery(fuelBudgetInLiters: Double!, energyBudgetInKWh: Double!, timeBudgetInSeconds: Double!, distanceBudgetInMeters: Double!, origin: LatLng!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: Avoid!, avoidList: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, isVehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!)
This constructor creates an instance of ReachableRangeQuery and assigns passed values to proper fields. Instead of directly using this constructor, use the builder ReachableRangeQuery(fuelBudgetInLiters: Double!, energyBudgetInKWh: Double!, timeBudgetInSeconds: Double!, distanceBudgetInMeters: Double!, origin: LatLng!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, isVehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!) |
var accelerationEfficiency: Double! |
|
var adrTunnelRestrictionCode: AdrTunnelRestrictionCode! |
|
var auxiliaryPowerInKW: Double! |
|
var auxiliaryPowerInLitersPerHour: Double! |
|
var avoidType: Avoid! |
|
var considerTraffic: Boolean! |
|
var constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap! |
|
var constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap! |
|
var currentChargeInKWh: Double! |
|
var currentFuelInLiters: Double! |
|
var decelerationEfficiency: Double! |
|
var departAt: Date! |
|
var downhillEfficiency: Double! |
|
var fuelEnergyDensityInMJoulesPerLiter: Double! |
|
var hilliness: Hilliness! |
|
var maxChargeInKWh: Double! |
|
var routeType: RouteType! |
|
var travelMode: TravelMode! |
|
var uphillEfficiency: Double! |
|
var vehicleAxleWeightInKg: Int! |
|
var vehicleCommercial: Boolean! |
|
var vehicleEngineType: VehicleEngineType! |
|
var vehicleHeightInMeters: Double! |
|
var vehicleLengthInMeters: Double! |
|
var vehicleLoadType: VehicleLoadType! |
|
var vehicleMaxSpeedInKph: Int! |
|
var vehicleWeightInKg: Int! |
|
var vehicleWidthInMeters: Double! |
|
var windingness: Windingness! |
open fun dispose(): Unit |
|
open fun equals(other: Any?): Boolean |
|
open fun getAvoidList(): MutableList<Avoid!>! |
|
open fun getDistanceBudgetInMeters(): Double!
Returns the distance budget in meters that determines the maximal range which can be traveled. The Consumption Model will only affect the range when the routeType is eco. |
|
open fun getEnergyBudgetInKWh(): Double!
Returns the electric energy budget in kilowatt hours (kWh) that determines the maximum range that can be traveled using the specified Electric Consumption Model. |
|
open fun getFuelBudgetInLiters(): Double!
Returns a fuel budget in liters that determines the maximum range that can be traveled using the specified Combustion Consumption Model. |
|
open fun getNativeHandle(): Long |
|
open fun getOrigin(): LatLng!
Returns origin position. |
|
open fun getTimeBudgetInSeconds(): Double!
Returns the time budget in seconds that determines the maximum range that can be traveled within a given time. The consumption parameters will only affect eco-routes and thereby indirectly affect the driving time. |
|
open fun hashCode(): Int |
|
open fun prepare(): Long |
|
open fun toString(): String |
open fun getAccelerationEfficiency(): Double! |
|
open fun getAdrTunnelRestrictionCode(): AdrTunnelRestrictionCode! |
|
open fun getAuxiliaryPowerInKW(): Double! |
|
open fun getAuxiliaryPowerInLitersPerHour(): Double! |
|
open fun getAvoidType(): Avoid! |
|
open fun getConsiderTraffic(): Boolean! |
|
open fun getConstantSpeedConsumptionInKWhPerHundredKm(): SpeedToConsumptionMap! |
|
open fun getConstantSpeedConsumptionInLitersPerHundredKm(): SpeedToConsumptionMap! |
|
open fun getCurrentChargeInKWh(): Double! |
|
open fun getCurrentFuelInLiters(): Double! |
|
open fun getDecelerationEfficiency(): Double! |
|
open fun getDepartAt(): Date! |
|
open fun getDownhillEfficiency(): Double! |
|
open fun getFuelEnergyDensityInMJoulesPerLiter(): Double! |
|
open fun getHilliness(): Hilliness! |
|
open fun getMaxChargeInKWh(): Double! |
|
open fun getRouteType(): RouteType! |
|
open fun getTravelMode(): TravelMode! |
|
open fun getUphillEfficiency(): Double! |
|
open fun getVehicleAxleWeightInKg(): Int! |
|
open fun getVehicleCommercial(): Boolean! |
|
open fun getVehicleEngineType(): VehicleEngineType! |
|
open fun getVehicleHeightInMeters(): Double! |
|
open fun getVehicleLengthInMeters(): Double! |
|
open fun getVehicleLoadType(): VehicleLoadType! |
|
open fun getVehicleMaxSpeedInKph(): Int! |
|
open fun getVehicleWeightInKg(): Int! |
|
open fun getVehicleWidthInMeters(): Double! |
|
open fun getWindingness(): Windingness! |
|
open fun prepareCommonsParams(): CommonParamsBuilder |