#include <box.h>
Inheritance diagram for Box:

Public Member Functions | |
| Box (const Vector3 &min, const Vector3 &max) | |
| bool | hasFinitBounding () const |
| Vector3 | getBoundingMin () const |
| Vector3 | getBoundingMax () const |
| void | rotateRad (const Vector3 &v) |
| void | rotateDeg (const Vector3 &v) |
| void | scale (const Vector3 &v) |
| void | translate (const Vector3 &v) |
| Object3D * | duplicate () const |
| Intersection * | intersectLocalLimitedTime (const Ray &r, DBL maxtime) const |
| bool | isInsideAt (const Vector3 &locallocation) const |
|
||||||||||||
|
Creates new box. |
|
|
Create a duplicate of the object. Must be of the same type!
Implements SurfacePatch3D.
|
|
|
Get bounding dimension (maximum edge). Reimplemented from Object3D.
|
|
|
Get bounding dimension (minimum edge). Reimplemented from Object3D.
|
|
|
Returns true if the surface can be enclosed by a finit box. Reimplemented from Object3D.
|
|
|
Test point for insideness.
Implements Object3D.
|
|
|
Rotate around x,y and z axis.
Reimplemented from Object3D.
|
|
|
Rotate around x,y and z axis.
Reimplemented from Object3D.
|
|
|
Scale by x,y,z factor from vector. Reimplemented from Object3D.
|
|
|
Translate by vector. Reimplemented from Object3D.
|
1.3.8