|
Triton
Visual simulation library for ocean rendering.
|
An oriented bounding box defined by a center point and three axes. More...
#include <OrientedBoundingBox.h>


Public Member Functions | |
| OrientedBoundingBox () | |
| Constructor. | |
| void | Set (const Vector3 ¢er, const Vector3 &xExtent, const Vector3 &yExtent, const Vector3 &zExtent) |
| Define the OBB by a center point and vectors from center to extents in X, Y, and Z. | |
| bool | PointInBox (const Vector3 &point, double slop) const |
| Test if a point is enclosed by the box. | |
| void | RecomputeBasis () |
| Recomputes the basis used for PointInBox. | |
An oriented bounding box defined by a center point and three axes.