Waypoint

constructor(lon: Double, lat: Double, geoWayPoint: GeoWaypoint, heading: Double, transportationMode: Int, radius: Int, alertRadius: Int, avoidUTurn: Int, useStartAngle: Int, useStopRoadSide: Int, ignoreTrafficDirection: Boolean, ignoreRoadBlocks: Boolean, ignoreRestrictions: Boolean, ignorePoint: Boolean, ignoreVehicleProfile: Boolean, stopTime: Int, maxDrivingSpeed: Int)

Creates a Waypoint form a GeoPoint instance and the additional properties

Parameters

point

An instance of GeoPoint

heading

Heading in degrees (clockwise oriented from North)

transportationMode

transportation mode assigned to given waypoint

avoidUTurn

Defines if a UTurn should be avoided (if possible) by the route Planner at this location

useStartAngle

flag indicating presence of the use start angle restriction

radius

radius (in meters) of the waypoint

alertRadius

Defines the distance (in meters) between current's vehicle's position and waypoint's location the navigation guidance should alert that the waypoint is reached.

useStopRoadSide

flag indicating presence of the use stop road side restriction

ignoreTrafficDirection

Defines if route Planner can ignore traffic directions to reach following waypoint passed to the Planner (allowing going against traffic directions).

ignoreRoadBlocks

Defines if route planner can ignore road blocks to reach following waypoint passed to the Planner.

ignoreRestrictions

Defines if route planner can ignore turn restrictions and blocked passages to reach following waypoint passed to the Planner.

ignorePoint

Flag indicating if given waypoint is ignored by the Planner for its route calculation

ignoreVehicleProfile

Defines if route Planner can ignore the vehicle profile set to the Planner to reach following waypoint passed to the Planner (and therefore ignoring truck attributes).

stopTime

Defines the stop time (in seconds) associated to this Waypoint. If a ChargePoolStop is associated to the RouteWaypoint to which this Waypoint belongs to, the stopTime corresponds to the ChargePoolStop.chargeDuration + the RechargeParameters.stopFixedTime

maxDrivingSpeed

the maximum driving speed (in kph) between current Waypoint and next Waypoint.


constructor(lon: Double, lat: Double, heading: Double = Double.NaN, transportationMode: TranspMode = TranspMode.PASSENGER_CAR, radius: Int = 0, alertRadius: Int = 50, avoidUTurn: WaypointStatus = WaypointStatus.UNDEF, useStartAngle: WaypointStatus = WaypointStatus.UNDEF, useStopRoadSide: WaypointStatus = WaypointStatus.UNDEF, ignoreTrafficDirection: Boolean = false, ignoreRoadBlocks: Boolean = false, ignoreRestrictions: Boolean = false, ignorePoint: Boolean = false, ignoreVehicleProfile: Boolean = false, stopTime: Int = 0, maxDrivingSpeed: Int = 0, offroadPolyline: List<GeoPoint>? = null)

Parameters

lon

waypoint longitude

lat

waypoint latitude

heading

Heading in degrees (clockwise oriented from North)

transportationMode

transportation mode assigned to given waypoint

avoidUTurn

Defines if a UTurn should be avoided (if possible) by the route Planner at this location

useStartAngle

flag indicating presence of the use start angle restriction

radius

radius (in meters) of the waypoint

alertRadius

Defines the distance (in meters) between current's vehicle's position and waypoint's location the navigation guidance should alert that the waypoint is reached.

useStopRoadSide

flag indicating presence of the use stop road side restriction

ignoreTrafficDirection

Defines if route planner can ignore traffic directions to reach following waypoint passed to the Planner (allowing going against traffic directions).

ignoreRoadBlocks

Defines if route planner can ignore road blocks to reach following waypoint passed to the Planner.

ignoreRestrictions

Defines if route planner can ignore turn restrictions and blocked passages to reach following waypoint passed to the Planner.

ignorePoint

Flag indicating if given waypoint is ignored by the planner for its route calculation

ignoreVehicleProfile

Defines if route Planner can ignore the vehicle profile set to the Planner to reach following waypoint passed to the Planner (and therefore ignoring truck attributes).

stopTime

Defines the stop time (in seconds) associated to this Waypoint. If a ChargePoolStop is associated to the RouteWaypoint to which this Waypoint belongs to, the stopTime corresponds to the ChargePoolStop.chargeDuration + the RechargeParameters.stopFixedTime

maxDrivingSpeed

the maximum driving speed (in kph) between current Waypoint and next Waypoint.

offroadPolyline

List of GeoPoint defining an offroad path. Used by GeoDecoder.mapMatchCircuitWaypoints for circuit navigation.