#include <boundingbox.h>
Public Member Functions | |
| BoundingBox (Vector3 edgemin, Vector3 edgemax) | |
| void | translate (const Vector3 &v) |
| void | scale (const Vector3 &v) |
| void | rotateDeg (const Vector3 &v) |
| void | rotateRad (const Vector3 &v) |
| void | applyOrthogonalMatrix (const Matrix &m) |
| void | applyMatrix (const Matrix &m) |
| Vector3 | getBoxMin () const |
| Vector3 | getBoxMax () const |
| void | transformate (const TransparentTransformatable &t) |
| DBL | intersect (const Ray &r) const |
| DBL | intersect (const Ray &r, DBL tmax) const |
| bool | isInsideAt (const Vector3 &a) const |
|
||||||||||||
|
Generates a bounding box from two edge points. All components of edgemin have to be smaller than the corresponding components of edgemax. |
|
|
|
|
|
|
|
||||||||||||
|
Intersect Box with Ray limited to maximum time.
|
|
|
|
|
Test point for box insidness.
|
|
|
Transformate the box the same way as the given Transformatable.
|
1.3.8