PathFinder

indigoextras.pathfinding.PathFinder
object PathFinder

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PathFinder.type

Members list

Value members

Concrete methods

def findPath[T](start: T, end: T, pathBuilder: PathBuilder[T])(using CanEqual[T, T]): Option[Batch[T]]

Find a path from start to end using the A* algorithm

Find a path from start to end using the A* algorithm

Type parameters

T

the type of the points

Value parameters

end

the end point

pathBuilder

the structure allowing to customize the path finding and to build a path of type T

start

the start point

Attributes

Returns

the path from start to end if it exists