VIPRA Documentation
Loading...
Searching...
No Matches
VIPRA::Behaviors::ModifierLocation Class Reference

Target modifier for location. More...

#include <modifier_location.hpp>

Public Member Functions

 ModifierLocation (VIPRA::idx location)
 
auto operator() (Simpack pack, VIPRA::idx targetIdx, VIPRA::idx) const -> bool
 Returns if target is within the location.
 

Detailed Description

Target modifier for location.

Member Function Documentation

◆ operator()()

auto VIPRA::Behaviors::ModifierLocation::operator() ( Simpack pack,
VIPRA::idx targetIdx,
VIPRA::idx  ) const -> bool
inline

Returns if target is within the location.

Parameters
pack: simulation pack
targetIdx: target to check
selfIdx: pedsetrian looking for target
Returns
true : if inside the location
false : if NOT inside the location

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