|
| BBox () |
|
| BBox (const VectorType &xyzMin, const VectorType &xyzMax) |
|
| BBox (const VectorType &xyzMin, const VectorType &xyzMax, bool sorted) |
|
| BBox (const VectorType &xyzMin, const ElementType &length) |
| Contruct a cubical BBox from a minimum coordinate and a single edge length. More...
|
|
| BBox (const ElementType *xyz, bool sorted=true) |
|
| BBox (const BBox &other) |
|
void | sort () |
|
const VectorType & | min () const |
|
const VectorType & | max () const |
|
VectorType & | min () |
|
VectorType & | max () |
|
bool | operator== (const BBox &rhs) const |
|
bool | operator!= (const BBox &rhs) const |
|
bool | empty () const |
|
bool | hasVolume () const |
|
| operator bool () const |
|
bool | isSorted () const |
|
Vec3d | getCenter () const |
|
VectorType | extents () const |
|
ElementType | volume () const |
|
size_t | maxExtent () const |
| Return the index (0, 1 or 2) of the longest axis. More...
|
|
bool | isInside (const VectorType &xyz) const |
| Return true if point (x, y, z) is inside this bounding box. More...
|
|
bool | isInside (const BBox &) const |
| Return true if the given bounding box is inside this bounding box. More...
|
|
bool | hasOverlap (const BBox &) const |
| Return true if the given bounding box overlaps with this bounding box. More...
|
|
void | expand (ElementType padding) |
| Pad this bounding box. More...
|
|
void | expand (const VectorType &xyz) |
| Expand this bounding box to enclose point (x, y, z). More...
|
|
void | expand (const BBox &) |
| Union this bounding box with the given bounding box. More...
|
|
void | expand (const VectorType &xyzMin, const ElementType &length) |
|
void | translate (const VectorType &t) |
| Translate this bounding box by . More...
|
|
void | read (std::istream &is) |
| Unserialize this bounding box from the given stream. More...
|
|
void | write (std::ostream &os) const |
| Serialize this bounding box to the given stream. More...
|
|
template<class _VectorType>
class openvdb::v0_104_0::math::BBox< _VectorType >
Axis-aligned bounding box.