#include <Boundary.h>
Public Member Functions | |
Boundary () | |
Boundary (T min, T max) | |
void | add (const Vector2< T > &p) |
void | add (const Boundary< T > &b) |
bool | isInside (const Vector2< T > &p) const |
Public Attributes | |
Range< T > | x |
Range< T > | y |
Definition at line 18 of file Boundary.h.
Constructor.
Definition at line 27 of file Boundary.h.
Constructor. This constructor allows to specify the minimum and maximum values for type T, e.g. -HUGE_VAL and HUGE_VAL for double. These limits are used to construct the object, so that it can adapt to any boundary later.
min | The minimum value of T. | |
max | The maximum value of T. |
Definition at line 37 of file Boundary.h.
The function enlarges the boundary so that it also includes another boundary.
b | The other boundary. |
Definition at line 54 of file Boundary.h.
The function enlarges the boundary so that it also includes the specified point.
p | The point. |
Definition at line 44 of file Boundary.h.
Referenced by ConditionalBoundary::add(), and CircleCalculation::getBoundary().
The function checks whether a certain point is enclosed by the boundary
p | The point. |
Definition at line 65 of file Boundary.h.
Referenced by GT2004SelfLocator::getTemplate().
The range in x-direction.
Definition at line 21 of file Boundary.h.
Referenced by Boundary< double >::add(), GT2004SelfLocator::addFlag(), GT2004SelfLocator::addGoal(), ConditionalBoundary::addX(), GT2004SelfLocator::calcPose(), LandmarksPercept::estimateOffsetForGoals(), GT2004BallLocator::execute(), GT2004SelfLocator::getBearing(), CircleCalculation::getBoundary(), Boundary< double >::isInside(), ConditionalBoundary::isOnBorder(), DrawingMethods::paintAngleBoundaryToImage(), DrawingMethods::paintLandmarksPerceptForFieldView(), PaintMethodsWin32::paintLandmarksPerceptToCDC(), OpenGLMethods::paintLandmarksPerceptToOpenGLList(), GoalRecognizer::scanLinesForGoals(), and GT2004GoalRecognizer::scanLinesForGoals().
The range in y-direction.
Definition at line 21 of file Boundary.h.
Referenced by Boundary< double >::add(), ConditionalBoundary::addY(), GT2004SelfLocator::calcPose(), LandmarksPercept::estimateOffsetForGoals(), CircleCalculation::getBoundary(), Boundary< double >::isInside(), ConditionalBoundary::isOnBorder(), DrawingMethods::paintAngleBoundaryToImage(), GoalRecognizer::scanLinesForGoals(), and GT2004GoalRecognizer::scanLinesForGoals().