![]() |
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.
|
inline |
|
inline |
References Vector3Tpl< Type >::cross(), Ray< T >::dir, Vector3Tpl< Type >::norm2d(), and Ray< T >::origin.
Referenced by cloudViewer::DgmOctree::rayCast().
|
inline |
References Vector3Tpl< Type >::cross(), Ray< T >::dir, Vector3Tpl< Type >::norm2d(), and Ray< T >::origin.
Referenced by ccOctree::pointPicking(), and cloudViewer::DgmOctree::rayCast().
|
inline |
References Vector3Tpl< Type >::norm2d(), and Ray< T >::origin.
Referenced by cloudViewer::DgmOctree::rayCast().
| Vector3Tpl<T> Ray< T >::dir |
Referenced by Ray< T >::radialSquareDistance(), Ray< T >::Ray(), and Ray< T >::squareDistances().
| Vector3Tpl<T> Ray< T >::invDir |
Referenced by AABB< float >::intersects(), and Ray< T >::Ray().
| Vector3Tpl<T> Ray< T >::origin |
Referenced by AABB< float >::intersects(), and Ray< T >::Ray().