Pathfinder
Namespaces | Functions | Variables
Search.cpp File Reference

This file implements all functionality declared in Search.h. More...

#include <spdlog/spdlog.h>
#include <spdlog/sinks/basic_file_sink.h>
#include <spdlog/stopwatch.h>
#include <spdlog/fmt/chrono.h>
#include <boost/graph/graph_utility.hpp>
#include <E_Geometry/E_Vec3.h>
#include "Analysis.h"
#include "Search.h"
#include "Astar.h"
#include "Vec.h"
Include dependency graph for Search.cpp:

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...
 

Variables

const float Pathfinder::allowedStartEndDistance = 5
 

Detailed Description

This file implements all functionality declared in Search.h.

Author
Jan-Luca Hansel