Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields
BVH_Ray< T, N > Class Template Reference

Describes a ray based on BVH vectors. More...

#include <BVH_Ray.hxx>

Public Types

typedef BVH::VectorType< T, N >::Type BVH_VecNt
 

Public Member Functions

constexpr BVH_Ray (const BVH_VecNt &theOrigin, const BVH_VecNt &theDirect) noexcept
 Creates ray with given origin and direction.
 
constexpr BVH_Ray () noexcept
 Default constructor (creates invalid ray at origin).
 

Data Fields

BVH_VecNt Origin
 Ray origin point.
 
BVH_VecNt Direct
 Ray direction vector.
 
BVH_VecNt InvDirect
 Reciprocal of direction (1/Direct)
 

Detailed Description

template<class T, int N>
class BVH_Ray< T, N >

Describes a ray based on BVH vectors.

Member Typedef Documentation

◆ BVH_VecNt

template<class T , int N>
typedef BVH::VectorType<T,N>::Type BVH_Ray< T, N >::BVH_VecNt

Constructor & Destructor Documentation

◆ BVH_Ray() [1/2]

template<class T , int N>
constexpr BVH_Ray< T, N >::BVH_Ray ( const BVH_VecNt & theOrigin,
const BVH_VecNt & theDirect )
inlineconstexprnoexcept

Creates ray with given origin and direction.

◆ BVH_Ray() [2/2]

template<class T , int N>
constexpr BVH_Ray< T, N >::BVH_Ray ( )
inlineconstexprnoexcept

Default constructor (creates invalid ray at origin).

Field Documentation

◆ Direct

template<class T , int N>
BVH_VecNt BVH_Ray< T, N >::Direct

Ray direction vector.

◆ InvDirect

template<class T , int N>
BVH_VecNt BVH_Ray< T, N >::InvDirect

Reciprocal of direction (1/Direct)

◆ Origin

template<class T , int N>
BVH_VecNt BVH_Ray< T, N >::Origin

Ray origin point.


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