![]() |
Menge
Modular Pedestrian Simulation Framework for Research and Development
|
The class that implements the funnel algorithm. More...
#include <Funnel.h>
Public Member Functions | |
| FunnelPlanner () | |
| Constructor. | |
| ~FunnelPlanner () | |
| Destructor. | |
| void | computeCrossing (float radius, const Vector2 &startPos, PortalPath *path, size_t startPortal=0) |
| Computes the crossings for the given path based on the funnel algorithm. More... | |
Protected Attributes | |
| std::list< FunnelEdge > | _left |
| The queue for the left side of the funnel. | |
| std::list< FunnelEdge > | _right |
| The queue for the right side of the funnel. | |
The class that implements the funnel algorithm.
| void Menge::FunnelPlanner::computeCrossing | ( | float | radius, |
| const Vector2 & | startPos, | ||
| PortalPath * | path, | ||
| size_t | startPortal = 0 |
||
| ) |
Computes the crossings for the given path based on the funnel algorithm.
| radius | The radius of the agent. |
| startPos | The starting position of the path. |
| path | A pointer to a portal path. |
| startPortal | The portal in the path to start wtih |
1.8.8