2D axis orthothogonal bounding box.
More...
#include <mia/2d/BoundingBox.hh>
2D axis orthothogonal bounding box.
Definition at line 38 of file BoundingBox.hh.
C2DBoundingBox::C2DBoundingBox |
( |
) | |
|
Construct a new bounding box with
- Parameters
-
begin | left lower corner |
end | right upper corner |
void C2DBoundingBox::add |
( |
const C2DFVector & |
point) | |
|
Change the box to include the given point
- Parameters
-
bool C2DBoundingBox::empty |
( |
) | |
const |
- Returns
- true if the box is not empty
void C2DBoundingBox::enlarge |
( |
float |
boundary) | |
|
enlarge the bounding box by a given amount
- Parameters
-
- Returns
- left lower bounding box point
- Returns
- right upper bounding box point
C2DIVector C2DBoundingBox::get_grid_begin |
( |
) | |
const |
- Returns
- left lower grid point
- Returns
- right upper grid point
C2DBounds C2DBoundingBox::get_grid_size |
( |
) | |
const |
- Returns
- size of bounding box in the grid
- Returns
- size of bounding box
Combine two bounding boxes
- Parameters
-
The documentation for this class was generated from the following file: