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