objtree::BBox Class Reference
#include <bbox.h>
List of all members.
Detailed Description
Bounding box class. Represent aligned bounding box in octree.
Definition at line 42 of file bbox.h.
Constructor & Destructor Documentation
objtree::BBox::BBox |
( |
const Box & |
box |
) |
|
A constructor.
- Parameters:
-
| box | bounding box position and size |
Definition at line 38 of file bbox.cpp.
Member Function Documentation
const Box & objtree::BBox::box |
( |
|
) |
const |
Returns position and size of the bounding box
- Returns:
- position and size of the bounding box
Definition at line 133 of file bbox.cpp.
bool objtree::BBox::fitsIntoBox |
( |
const Box & |
box |
) |
const [virtual] |
Returns true if BBox fits into a box.
- Parameters:
-
- Returns:
- true if BBox fits into a box, false otherwise
Implements objtree::Object.
Definition at line 49 of file bbox.cpp.
bool objtree::BBox::interfereWithBox |
( |
const Box & |
box |
) |
const [virtual] |
Returns true if BBox interferes with a box.
- Parameters:
-
- Returns:
- true if BBox interferes with box, false otherwise
Implements objtree::Object.
Definition at line 64 of file bbox.cpp.
bool objtree::BBox::isPointInside |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z | |
|
) |
| | const [virtual] |
bool objtree::BBox::isSimilar |
( |
const Object * |
object |
) |
const [virtual] |
Compare other object for similarity.
- Parameters:
-
- Returns:
- true if object is similar, false otherwise
Implements objtree::Object.
Reimplemented in objtree::GBBox.
Definition at line 89 of file bbox.cpp.
bool objtree::BBox::isSimilarBBox |
( |
const BBox * |
box |
) |
const [virtual] |
Compare other bounding box for similarity.
- Parameters:
-
| box | bounding box to compare |
- Returns:
- true if bounding box is similar, false otherwise
Definition at line 101 of file bbox.cpp.
Member Data Documentation
The documentation for this class was generated from the following files:
srs_env_model
Author(s): Vit Stancl (stancl@fit.vutbr.cz), Tomas Lokaj, Jan Gorig, Michal Spanel (spanel@fit.vutbr.cz)
autogenerated on Tue Mar 5 14:33:48 2013