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 | Friends | List of all members
Menge::FunnelApex Class Reference

The apex of the funnel. More...

#include <Funnel.h>

Public Member Functions

 FunnelApex (size_t id, const Vector2 &point)
 Constructor. More...
 
void set (size_t id, const Vector2 &point)
 Sets the values of the apex. More...
 

Protected Attributes

size_t _id
 The identifier associated with this apex point. if -1, it is the start position, otherwise, a point extracted from the portal with the given id.
 
Vector2 _pos
 The position of the apex.
 

Friends

class FunnelPlanner
 

Detailed Description

The apex of the funnel.

Constructor & Destructor Documentation

Menge::FunnelApex::FunnelApex ( size_t  id,
const Vector2 point 
)
inline

Constructor.

Parameters
idThe index of the portal associated with this apex. If -1, it is the start position.
pointThe location of the start point.

Member Function Documentation

void Menge::FunnelApex::set ( size_t  id,
const Vector2 point 
)
inline

Sets the values of the apex.

Parameters
idThe index of the portal associated with this apex. If -1, it is the start position.
pointThe location of the start point.

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