DHART
Loading...
Searching...
No Matches
HF::RayTracer::double3 Struct Reference

#include <ray_data.h>

+ Collaboration diagram for HF::RayTracer::double3:

Public Member Functions

 double3 ()
 
 double3 (double xx, double yy, double zz)
 
 double3 (const double *p)
 
double3 operator* (double f) const
 
double3 operator- (const double3 &f2) const
 
double3 operator* (const double3 &f2) const
 
double3 operator+ (const double3 &f2) const
 
double3operator+= (const double3 &f2)
 
double3 operator/ (const double3 &f2) const
 
double operator[] (int i) const
 
doubleoperator[] (int i)
 
double3 neg ()
 
double length ()
 
void normalize ()
 

Public Attributes

double x
 
double y
 
double z
 

Detailed Description

Definition at line 20 of file ray_data.h.

Constructor & Destructor Documentation

◆ double3() [1/3]

HF::RayTracer::double3::double3 ( )
inline

Definition at line 21 of file ray_data.h.

Referenced by neg(), operator*(), operator+(), operator-(), and operator/().

+ Here is the caller graph for this function:

◆ double3() [2/3]

HF::RayTracer::double3::double3 ( double  xx,
double  yy,
double  zz 
)
inline

Definition at line 22 of file ray_data.h.

References x, y, and z.

◆ double3() [3/3]

HF::RayTracer::double3::double3 ( const double p)
inline

Definition at line 27 of file ray_data.h.

References x, y, and z.

Member Function Documentation

◆ length()

double HF::RayTracer::double3::length ( )
inline

Definition at line 56 of file ray_data.h.

References x, y, and z.

Referenced by normalize().

+ Here is the caller graph for this function:

◆ neg()

double3 HF::RayTracer::double3::neg ( )
inline

Definition at line 54 of file ray_data.h.

References double3(), x, y, and z.

+ Here is the call graph for this function:

◆ normalize()

void HF::RayTracer::double3::normalize ( )
inline

Definition at line 58 of file ray_data.h.

References length(), x, y, and z.

+ Here is the call graph for this function:

◆ operator*() [1/2]

double3 HF::RayTracer::double3::operator* ( const double3 f2) const
inline

Definition at line 36 of file ray_data.h.

References double3(), x, y, and z.

+ Here is the call graph for this function:

◆ operator*() [2/2]

double3 HF::RayTracer::double3::operator* ( double  f) const
inline

Definition at line 32 of file ray_data.h.

References double3(), x, y, and z.

+ Here is the call graph for this function:

◆ operator+()

double3 HF::RayTracer::double3::operator+ ( const double3 f2) const
inline

Definition at line 39 of file ray_data.h.

References double3(), x, y, and z.

+ Here is the call graph for this function:

◆ operator+=()

double3 & HF::RayTracer::double3::operator+= ( const double3 f2)
inline

Definition at line 42 of file ray_data.h.

References x, y, and z.

◆ operator-()

double3 HF::RayTracer::double3::operator- ( const double3 f2) const
inline

Definition at line 33 of file ray_data.h.

References double3(), x, y, and z.

+ Here is the call graph for this function:

◆ operator/()

double3 HF::RayTracer::double3::operator/ ( const double3 f2) const
inline

Definition at line 48 of file ray_data.h.

References double3(), x, y, and z.

+ Here is the call graph for this function:

◆ operator[]() [1/2]

double & HF::RayTracer::double3::operator[] ( int  i)
inline

Definition at line 52 of file ray_data.h.

References x.

◆ operator[]() [2/2]

double HF::RayTracer::double3::operator[] ( int  i) const
inline

Definition at line 51 of file ray_data.h.

References x.

Member Data Documentation

◆ x

double HF::RayTracer::double3::x

◆ y

double HF::RayTracer::double3::y

◆ z

double HF::RayTracer::double3::z

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