CCCoreLib 31 May 2022
CloudCompare Core algorithms
Public Member Functions | Public Attributes | List of all members
CCCoreLib::Ray< T > Struct Template Reference

Simple Ray structure. More...

#include <RayAndBox.h>

Collaboration diagram for CCCoreLib::Ray< T >:
Collaboration graph
[legend]

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
 

Detailed Description

template<typename T>
struct CCCoreLib::Ray< T >

Simple Ray structure.


The documentation for this struct was generated from the following file: