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

ReachableRangeQuery

open class ReachableRangeQuery : CommonRequestQuery

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!, 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.

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

getNativeHandle

open fun getNativeHandle(): Long

prepare

open fun prepare(): Long

Inherited Functions

prepareCommonsParams

open fun prepareCommonsParams(): CommonParamsBuilder