Carna Version 3.3.3
Loading...
Searching...
No Matches
Public Types | Public Attributes | List of all members
Carna::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.h>

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 Carna::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
Date
22.2.15 - 16.3.15

Definition at line 47 of file Ray.h.

Member Typedef Documentation

◆ Vector

Reflects the VectorType argument this class template was instantiated with.

Definition at line 57 of file Ray.h.

Member Data Documentation

◆ direction

Holds the direction of this ray.

Definition at line 67 of file Ray.h.

◆ origin

Holds the origin of this ray.

Definition at line 62 of file Ray.h.


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