TruckProfile

Truck routing profile

Constructors

Link copied to clipboard
constructor()
constructor(massKg: Int? = null, heightCm: Int? = null, lengthCm: Int? = null, widthCm: Int? = null, axleLoadKg: Int? = null, maxSpeedMs: Double? = null)
constructor(address: Long)

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

Truck max mass / axle in kg. By default is 0 and is not considered in routing

Link copied to clipboard
var height: Int

Truck height in cm. By default is 0 and is not considered in routing

Link copied to clipboard
var length: Int

Truck length in cm. By default is 0 and is not considered in routing

Link copied to clipboard
var mass: Int

Truck mass in kg. By default is 0 and is not considered in routing

Link copied to clipboard

Truck max speed im m/s. By default is 0 and is not considered in routing

Link copied to clipboard
var width: Int

Truck width in cm. By default is 0 and is not considered in routing

Functions

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if: