ItineraryPoint

class ItineraryPoint(val place: Place, val heading: Angle? = null)

Encapsulates Place with the additional information relevant for the route itinerary.

Parameters

place
heading

Angle at which this itinerary point should be approached or departed. Counted from north in clockwise direction and in range [0, 360).

Constructors

Link copied to clipboard
constructor(place: Place, heading: Angle? = null, pauseTime: Duration = Duration.ZERO)

Encapsulates Place with the additional information relevant for the route itinerary.

constructor(place: Place, heading: Angle? = null, pauseTime: Duration = Duration.ZERO, chargingStationId: ItineraryPointId? = null, waypointType: WaypointType? = null)

Encapsulates Place with the additional information relevant for the route itinerary.

constructor(id: ItineraryPointId, place: Place, heading: Angle? = null, pauseTime: Duration = Duration.ZERO, chargingStationId: ItineraryPointId? = null, waypointType: WaypointType? = null)

Encapsulates Place with the additional information relevant for the route itinerary.

constructor(place: Place, heading: Angle? = null)

Properties

Link copied to clipboard

ID of the charging station at this itinerary point. It is a unique ID of the charging station in the source data. If specified, it will be used to look up the corresponding charging station and plan charging at it. Note: This parameter is not supported on Orbis.

Link copied to clipboard
val heading: Angle? = null
Link copied to clipboard

A unique identifier of the itinerary point.

Link copied to clipboard

Pause time at this itinerary point (including charging time).

Link copied to clipboard
Link copied to clipboard

Type of the waypoint represented by this itinerary point. In case this itinerary point represents a waypoint, it returns the value indicating whether the waypoint is user-defined or auto-generated. Returns null if this itinerary point represents origin or destination.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String