![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <RayAndBox.h>

Public Member Functions | |
| Ray (const Vector3Tpl< T > &rayAxis, const Vector3Tpl< T > &rayOrigin) | |
| double | radialSquareDistance (const Vector3Tpl< T > &P) const |
| double | squareDistanceToOrigin (const Vector3Tpl< T > &P) const |
| void | squareDistances (const Vector3Tpl< T > &P, double &radial, double &toOrigin) const |
Public Attributes | |
| Vector3Tpl< T > | dir |
| Vector3Tpl< T > | origin |
| Vector3Tpl< T > | invDir |
| Tuple3i | sign |
Simple Ray structure.
Definition at line 14 of file RayAndBox.h.
|
inline |
Definition at line 15 of file RayAndBox.h.
References Ray< T >::dir, Ray< T >::invDir, Vector3Tpl< Type >::normalize(), Ray< T >::sign, Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inline |
Definition at line 25 of file RayAndBox.h.
References Vector3Tpl< Type >::cross(), Ray< T >::dir, Vector3Tpl< Type >::norm2d(), and Ray< T >::origin.
Referenced by cloudViewer::DgmOctree::rayCast().
|
inline |
Definition at line 35 of file RayAndBox.h.
References Vector3Tpl< Type >::cross(), Ray< T >::dir, Vector3Tpl< Type >::norm2d(), and Ray< T >::origin.
Referenced by cloudViewer::DgmOctree::rayCast().
|
inline |
Definition at line 30 of file RayAndBox.h.
References Vector3Tpl< Type >::norm2d(), and Ray< T >::origin.
Referenced by cloudViewer::DgmOctree::rayCast().
| Vector3Tpl<T> Ray< T >::dir |
Definition at line 43 of file RayAndBox.h.
Referenced by Ray< T >::radialSquareDistance(), Ray< T >::Ray(), and Ray< T >::squareDistances().
| Vector3Tpl<T> Ray< T >::invDir |
Definition at line 44 of file RayAndBox.h.
Referenced by AABB< T >::intersects(), and Ray< T >::Ray().
| Vector3Tpl<T> Ray< T >::origin |
Definition at line 43 of file RayAndBox.h.
Referenced by AABB< T >::intersects(), Ray< T >::radialSquareDistance(), Ray< T >::squareDistances(), and Ray< T >::squareDistanceToOrigin().
Definition at line 45 of file RayAndBox.h.
Referenced by AABB< T >::intersects(), and Ray< T >::Ray().