#include <Boundary.h>
Public Member Functions | |
| Boundary () | |
| Constructor. | |
| Boundary (T min, T max) | |
| Constructor. | |
| void | add (const Vector2< T > &p) |
| The function enlarges the boundary so that it also includes the specified point. | |
| void | add (const Boundary< T > &b) |
| The function enlarges the boundary so that it also includes another boundary. | |
| bool | isInside (const Vector2< T > &p) const |
| The function checks whether a certain point is enclosed by the boundary. | |
Public Attributes | |
| Range< T > | x |
| The range in x-direction. | |
| Range< T > | y |
| The range in y-direction. | |
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.
Definition at line 37 of file Boundary.h. |
|
||||||||||
|
The function enlarges the boundary so that it also includes the specified point.
Definition at line 44 of file Boundary.h. Referenced by ConditionalBoundary::add(), and CircleCalculation::getBoundary(). |
|
||||||||||
|
The function enlarges the boundary so that it also includes another boundary.
Definition at line 54 of file Boundary.h. |
|
||||||||||
|
The function checks whether a certain point is enclosed by the boundary.
Definition at line 65 of file Boundary.h. |
|
|||||
|
The range in x-direction.
Definition at line 21 of file Boundary.h. Referenced by Boundary< double >::add(), and CircleCalculation::getBoundary(). |
|
|||||
|
The range in y-direction.
Definition at line 21 of file Boundary.h. Referenced by Boundary< double >::add(), and CircleCalculation::getBoundary(). |
1.3.6