sdk-routing / com.tomtom.online.sdk.routing.data / OptimizedWaypoint

OptimizedWaypoint

open class OptimizedWaypoint : Serializable

The optimized waypoint. If the Routing request contains waypoints and the computeBestOrder parameter, the response will include the optimized waypoint indices.

Constructors

<init>

OptimizedWaypoint()

Empty constructor for the OptimizedWaypoint.

OptimizedWaypoint(providedIndex: Int, optimizedIndex: Int)

Default constructor for the OptimizedWaypoint.

Properties

optimizedIndex

var optimizedIndex: Int

The optimized waypoint index.

providedIndex

var providedIndex: Int

The original waypoint index provided in the request.

Functions

getOptimizedIndex

open fun getOptimizedIndex(): Int

Returns the optimized waypoint index.

getProvidedIndex

open fun getProvidedIndex(): Int

Returns the original waypoint index provided in the request.

toString

open fun toString(): String