![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Simple axis aligned box structure. More...
#include <RayAndBox.h>


Public Member Functions | |
| AABB (const Vector3Tpl< T > &minCorner, const Vector3Tpl< T > &maxCorner) | |
| bool | intersects (const Ray< T > &r, T *t0=0, T *t1=0) const |
Public Attributes | |
| Vector3Tpl< T > | corners [2] |
Simple axis aligned box structure.
Definition at line 50 of file RayAndBox.h.
|
inline |
Definition at line 51 of file RayAndBox.h.
References AABB< T >::corners, Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
Definition at line 69 of file RayAndBox.h.
References AABB< T >::corners, Ray< T >::invDir, Ray< T >::origin, Ray< T >::sign, Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by cloudViewer::DgmOctree::rayCast().
| Vector3Tpl<T> AABB< T >::corners[2] |
Definition at line 92 of file RayAndBox.h.
Referenced by AABB< T >::AABB(), and AABB< T >::intersects().