StraightLine

Routing strategy that computes a straight route from the current position to the final one. In this implementation obstacles are ignored.

Parameters

position type

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun cloneIfNeeded(destination: Node<T>, reaction: Reaction<T>): RoutingStrategy<T, P>
Link copied to clipboard
open override fun computeRoute(currentPos: P, finalPos: P): Route<P>

Computes a route between two positions.

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