Menge
Modular Pedestrian Simulation Framework for Research and Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
Menge::FunnelPlanner Class Reference

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.
 

Detailed Description

The class that implements the funnel algorithm.

Member Function Documentation

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.

Parameters
radiusThe radius of the agent.
startPosThe starting position of the path.
pathA pointer to a portal path.
startPortalThe portal in the path to start wtih

The documentation for this class was generated from the following files: