LibCarna Version 3.4.0
Loading...
Searching...
No Matches
Public Types | Public Attributes | List of all members
LibCarna::base::math::Ray< VectorType > Class Template Reference

Defines ray in \(D^d\) where \(D\) is the Scalar type derived from VectorType and \(d\) is dimension of VectorType. More...

#include <Ray.hpp>

Public Types

typedef VectorType Vector
 Reflects the VectorType argument this class template was instantiated with.
 

Public Attributes

VectorType origin
 Holds the origin of this ray.
 
VectorType direction
 Holds the direction of this ray.
 

Detailed Description

template<typename VectorType>
class LibCarna::base::math::Ray< VectorType >

Defines ray in \(D^d\) where \(D\) is the Scalar type derived from VectorType and \(d\) is dimension of VectorType.

Parameters
VectorTypeSpecifies the which vector type is to use.
Author
Leonid Kostrykin

Definition at line 50 of file Ray.hpp.

Member Typedef Documentation

◆ Vector

Reflects the VectorType argument this class template was instantiated with.

Definition at line 60 of file Ray.hpp.

Member Data Documentation

◆ direction

Holds the direction of this ray.

Definition at line 70 of file Ray.hpp.

◆ origin

Holds the origin of this ray.

Definition at line 65 of file Ray.hpp.


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