#include <Bounding_Box.hpp>
Definition at line 7 of file Bounding_Box.hpp.
| BoundingBox::BoundingBox |
( |
| ) |
|
| double BoundingBox::max_x |
( |
| ) |
|
|
inline |
| double BoundingBox::max_y |
( |
| ) |
|
|
inline |
| double BoundingBox::min_x |
( |
| ) |
|
|
inline |
| double BoundingBox::min_y |
( |
| ) |
|
|
inline |
| void BoundingBox::reset |
( |
| ) |
|
Resets the contents of bounding_box to empty.
- Parameters
-
Bounding_Box__reset() will reset bounding_box to the empty state.
Definition at line 16 of file Bounding_Box.cpp.
| void BoundingBox::update |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
Adds the point (x, y) to *bounding_box.
- Parameters
-
| bounding_box | to be updated. |
| x | is the X value to update. |
| y | is the Y value to update. |
Bounding_Box__update() will update the contents of bounding_box to enclose (x, y).
Definition at line 32 of file Bounding_Box.cpp.
| double BoundingBox::maximum_x |
|
private |
| double BoundingBox::maximum_y |
|
private |
| double BoundingBox::minimum_x |
|
private |
| double BoundingBox::minimum_y |
|
private |
The documentation for this class was generated from the following files: