Pathfinder
Namespaces | Functions
Search.h File Reference

This file declares the findPath function. More...

#include <EScript/EScript/Objects/Collections/Array.h>
Include dependency graph for Search.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Pathfinder
 

Functions

boost::optional< std::pair< Vertex, Vertex > > Pathfinder::findStartGoal (const Geometry::Vec3 &start, const Geometry::Vec3 &goal, const Graph *graph)
 Given 2 points in 3D space, approximate these points by nodes in the graph while adhering to a maximum distance threshold. More...
 
EScript::Array * Pathfinder::findPath (const MinSG::ListNode &root, const Geometry::Vec3 &start, const Geometry::Vec3 &goal, const short &agent)
 Do the scene analysis and pathfinding. More...
 

Detailed Description

This file declares the findPath function.

This function can be called in an EScript script to start the algorithm.

Author
Jan-Luca Hansel