An axis-aligned box.
More...
◆ AABox() [1/4]
Creates the empty bounds, i.e., an empty set of points.
Referenced by operator*().
◆ AABox() [2/4]
G3D::AABox::AABox |
( |
const Point3 & |
v | ) |
|
|
inlineexplicit |
Constructs a zero-volume AABox at v.
◆ AABox() [3/4]
G3D::AABox::AABox |
( |
const class Any & |
a | ) |
|
|
explicit |
Format is one of:
- AABox(lowpoint, highpoint)
- AABox(point)
- AABox::empty()
- AABox::inf()
◆ AABox() [4/4]
G3D::AABox::AABox |
( |
const Point3 & |
low, |
|
|
const Point3 & |
high |
|
) |
| |
|
inline |
Assumes that low is less than or equal to high along each dimension.
To have this automatically enforced, use AABox(low.min(high), low.max(high));
◆ getTransformedBounds()
void G3D::AABox::getTransformedBounds |
( |
const class Matrix3x4 & |
xform, |
|
|
AABox & |
bounds |
|
) |
| const |
◆ isEmpty()
bool G3D::AABox::isEmpty |
( |
| ) |
const |
|
inline |
◆ operator*()
AABox G3D::AABox::operator* |
( |
float |
f | ) |
const |
|
inline |
◆ operator/()
AABox G3D::AABox::operator/ |
( |
float |
f | ) |
const |
|
inline |
◆ set()
void G3D::AABox::set |
( |
const Point3 & |
low, |
|
|
const Point3 & |
high |
|
) |
| |
|
inline |
Assumes that low is less than or equal to high along each dimension.
◆ toAny()
Any G3D::AABox::toAny |
( |
| ) |
const |
◆ Intersect