![]() |
CCCoreLib 31 May 2022
CloudCompare Core algorithms
|
#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.