IgnoreStreets

This strategy ignores any information about the map, and connects the starting and ending point with a straight line using PolygonalChain.

Parameters

<T>

Concentration type

<P>

position type

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun cloneIfNeeded(destination: Node<T>, reaction: NodeReaction<T>): RoutingStrategy<T, P>

Returns a copy for destination and reaction when this strategy is stateful, or this object otherwise.

Link copied to clipboard
open fun computeRoute(@Nonnull currentPos: P, @Nonnull finalPos: P): Route<P>
Computes a route from currentPos to finalPos.