#include <player_predicate.h>
rcsc::AbsAngleDiffGreaterPlayerPredicateに対する継承グラフ
Public メソッド | |
AbsAngleDiffGreaterPlayerPredicate (const Vector2D &base_point, const AngleDeg &base_angle, const double &threshold) | |
construct with base point and threshold distance | |
bool | operator() (const AbstractPlayerObject &p) const |
predicate function |
rcsc::AbsAngleDiffGreaterPlayerPredicate::AbsAngleDiffGreaterPlayerPredicate | ( | const Vector2D & | base_point, | |
const AngleDeg & | base_angle, | |||
const double & | threshold | |||
) | [inline] |
construct with base point and threshold distance
base_point | base point | |
base_angle | compared angle | |
threshold | angle threshold value (degree) |
bool rcsc::AbsAngleDiffGreaterPlayerPredicate::operator() | ( | const AbstractPlayerObject & | p | ) | const [inline, virtual] |
predicate function
p | const reference to the target player object |
rcsc::PlayerPredicateを実装しています。