sdk-routing / com.tomtom.online.sdk.data.reachablerange / ReachableRangeQuery

ReachableRangeQuery

@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.reachablerange.ReachableRangeSpecification") open class ReachableRangeQuery : CommonRequestQuery
Deprecated: Deprecated in Java

The default implementation of the ReachableRangeQuery object which is used to prepare the query for the Routing API.

Constructors

<init>

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 ReachableRangeQueryBuilder class.

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!)

Inherited Properties

accelerationEfficiency

var accelerationEfficiency: Double!

adrTunnelRestrictionCode

var adrTunnelRestrictionCode: AdrTunnelRestrictionCode!

auxiliaryPowerInKW

var auxiliaryPowerInKW: Double!

auxiliaryPowerInLitersPerHour

var auxiliaryPowerInLitersPerHour: Double!

avoidType

var avoidType: Avoid!

considerTraffic

var considerTraffic: Boolean!

constantSpeedConsumptionInKWhPerHundredKm

var constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!

constantSpeedConsumptionInLitersPerHundredKm

var constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!

currentChargeInKWh

var currentChargeInKWh: Double!

currentFuelInLiters

var currentFuelInLiters: Double!

decelerationEfficiency

var decelerationEfficiency: Double!

departAt

var departAt: Date!

downhillEfficiency

var downhillEfficiency: Double!

fuelEnergyDensityInMJoulesPerLiter

var fuelEnergyDensityInMJoulesPerLiter: Double!

hilliness

var hilliness: Hilliness!

maxChargeInKWh

var maxChargeInKWh: Double!

routeType

var routeType: RouteType!

travelMode

var travelMode: TravelMode!

uphillEfficiency

var uphillEfficiency: Double!

vehicleAxleWeightInKg

var vehicleAxleWeightInKg: Int!

vehicleCommercial

var vehicleCommercial: Boolean!

vehicleEngineType

var vehicleEngineType: VehicleEngineType!

vehicleHeightInMeters

var vehicleHeightInMeters: Double!

vehicleLengthInMeters

var vehicleLengthInMeters: Double!

vehicleLoadType

var vehicleLoadType: VehicleLoadType!

vehicleMaxSpeedInKph

var vehicleMaxSpeedInKph: Int!

vehicleWeightInKg

var vehicleWeightInKg: Int!

vehicleWidthInMeters

var vehicleWidthInMeters: Double!

windingness

var windingness: Windingness!

Functions

dispose

open fun dispose(): Unit

equals

open fun equals(other: Any?): Boolean

getAvoidList

open fun getAvoidList(): MutableList<Avoid!>!

getDistanceBudgetInMeters

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.

getEnergyBudgetInKWh

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.

getFuelBudgetInLiters

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.

getNativeHandle

open fun getNativeHandle(): Long

getOrigin

open fun getOrigin(): LatLng!

Returns origin position.

getTimeBudgetInSeconds

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.

hashCode

open fun hashCode(): Int

prepare

open fun prepare(): Long

toString

open fun toString(): String

Inherited Functions

getAccelerationEfficiency

open fun getAccelerationEfficiency(): Double!

getAdrTunnelRestrictionCode

open fun getAdrTunnelRestrictionCode(): AdrTunnelRestrictionCode!

getAuxiliaryPowerInKW

open fun getAuxiliaryPowerInKW(): Double!

getAuxiliaryPowerInLitersPerHour

open fun getAuxiliaryPowerInLitersPerHour(): Double!

getAvoidType

open fun getAvoidType(): Avoid!

getConsiderTraffic

open fun getConsiderTraffic(): Boolean!

getConstantSpeedConsumptionInKWhPerHundredKm

open fun getConstantSpeedConsumptionInKWhPerHundredKm(): SpeedToConsumptionMap!

getConstantSpeedConsumptionInLitersPerHundredKm

open fun getConstantSpeedConsumptionInLitersPerHundredKm(): SpeedToConsumptionMap!

getCurrentChargeInKWh

open fun getCurrentChargeInKWh(): Double!

getCurrentFuelInLiters

open fun getCurrentFuelInLiters(): Double!

getDecelerationEfficiency

open fun getDecelerationEfficiency(): Double!

getDepartAt

open fun getDepartAt(): Date!

getDownhillEfficiency

open fun getDownhillEfficiency(): Double!

getFuelEnergyDensityInMJoulesPerLiter

open fun getFuelEnergyDensityInMJoulesPerLiter(): Double!

getHilliness

open fun getHilliness(): Hilliness!

getMaxChargeInKWh

open fun getMaxChargeInKWh(): Double!

getRouteType

open fun getRouteType(): RouteType!

getTravelMode

open fun getTravelMode(): TravelMode!

getUphillEfficiency

open fun getUphillEfficiency(): Double!

getVehicleAxleWeightInKg

open fun getVehicleAxleWeightInKg(): Int!

getVehicleCommercial

open fun getVehicleCommercial(): Boolean!

getVehicleEngineType

open fun getVehicleEngineType(): VehicleEngineType!

getVehicleHeightInMeters

open fun getVehicleHeightInMeters(): Double!

getVehicleLengthInMeters

open fun getVehicleLengthInMeters(): Double!

getVehicleLoadType

open fun getVehicleLoadType(): VehicleLoadType!

getVehicleMaxSpeedInKph

open fun getVehicleMaxSpeedInKph(): Int!

getVehicleWeightInKg

open fun getVehicleWeightInKg(): Int!

getVehicleWidthInMeters

open fun getVehicleWidthInMeters(): Double!

getWindingness

open fun getWindingness(): Windingness!

prepareCommonsParams

open fun prepareCommonsParams(): CommonParamsBuilder