TORCS  1.3.9
The Open Racing Car Simulator
Tuple3 Class Reference

#include <Tuple3.h>

Inheritance diagram for Tuple3:

Public Member Functions

 Tuple3 ()
 
 Tuple3 (const float v[3])
 
 Tuple3 (const double v[3])
 
 Tuple3 (Scalar x, Scalar y, Scalar z)
 
Scalaroperator[] (int i)
 
const Scalaroperator[] (int i) const
 
ScalargetValue ()
 
const ScalargetValue () const
 
void setValue (const float v[3])
 
void setValue (const double v[3])
 
void setValue (Scalar x, Scalar y, Scalar z)
 

Protected Attributes

Scalar comp [3]
 

Detailed Description

Definition at line 37 of file Tuple3.h.

Constructor & Destructor Documentation

◆ Tuple3() [1/4]

Tuple3::Tuple3 ( )
inline

Definition at line 39 of file Tuple3.h.

◆ Tuple3() [2/4]

Tuple3::Tuple3 ( const float  v[3])
inline

Definition at line 40 of file Tuple3.h.

◆ Tuple3() [3/4]

Tuple3::Tuple3 ( const double  v[3])
inline

Definition at line 41 of file Tuple3.h.

◆ Tuple3() [4/4]

Tuple3::Tuple3 ( Scalar  x,
Scalar  y,
Scalar  z 
)
inline

Definition at line 42 of file Tuple3.h.

Member Function Documentation

◆ getValue() [1/2]

Scalar* Tuple3::getValue ( )
inline

Definition at line 47 of file Tuple3.h.

◆ getValue() [2/2]

const Scalar* Tuple3::getValue ( ) const
inline

Definition at line 48 of file Tuple3.h.

◆ operator[]() [1/2]

Scalar& Tuple3::operator[] ( int  i)
inline

Definition at line 44 of file Tuple3.h.

◆ operator[]() [2/2]

const Scalar& Tuple3::operator[] ( int  i) const
inline

Definition at line 45 of file Tuple3.h.

◆ setValue() [1/3]

void Tuple3::setValue ( const float  v[3])
inline

Definition at line 50 of file Tuple3.h.

◆ setValue() [2/3]

void Tuple3::setValue ( const double  v[3])
inline

Definition at line 54 of file Tuple3.h.

◆ setValue() [3/3]

void Tuple3::setValue ( Scalar  x,
Scalar  y,
Scalar  z 
)
inline

Definition at line 58 of file Tuple3.h.

Member Data Documentation

◆ comp

Scalar Tuple3::comp[3]
protected

Definition at line 63 of file Tuple3.h.


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