TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
Tuple4 Class Reference

#include <Tuple4.h>

Inheritance diagram for Tuple4:

Public Member Functions

 Tuple4 ()
 Tuple4 (const float v[4])
 Tuple4 (const double v[4])
 Tuple4 (Scalar x, Scalar y, Scalar z, Scalar w)
Scalar & operator[] (int i)
const Scalar & operator[] (int i) const
Scalar * getValue ()
const Scalar * getValue () const
void setValue (const float v[4])
void setValue (const double v[4])
void setValue (Scalar x, Scalar y, Scalar z, Scalar w)

Protected Attributes

Scalar comp [4]

Detailed Description

Definition at line 37 of file Tuple4.h.

Constructor & Destructor Documentation

◆ Tuple4() [1/4]

Tuple4::Tuple4 ( )
inline

Definition at line 39 of file Tuple4.h.

◆ Tuple4() [2/4]

Tuple4::Tuple4 ( const float v[4])
inline

Definition at line 40 of file Tuple4.h.

Here is the call graph for this function:

◆ Tuple4() [3/4]

Tuple4::Tuple4 ( const double v[4])
inline

Definition at line 41 of file Tuple4.h.

Here is the call graph for this function:

◆ Tuple4() [4/4]

Tuple4::Tuple4 ( Scalar x,
Scalar y,
Scalar z,
Scalar w )
inline

Definition at line 42 of file Tuple4.h.

Here is the call graph for this function:

Member Function Documentation

◆ getValue() [1/2]

Scalar * Tuple4::getValue ( )
inline

Definition at line 47 of file Tuple4.h.

◆ getValue() [2/2]

const Scalar * Tuple4::getValue ( ) const
inline

Definition at line 48 of file Tuple4.h.

◆ operator[]() [1/2]

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

Definition at line 44 of file Tuple4.h.

◆ operator[]() [2/2]

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

Definition at line 45 of file Tuple4.h.

◆ setValue() [1/3]

void Tuple4::setValue ( const double v[4])
inline

Definition at line 54 of file Tuple4.h.

◆ setValue() [2/3]

void Tuple4::setValue ( const float v[4])
inline

Definition at line 50 of file Tuple4.h.

◆ setValue() [3/3]

void Tuple4::setValue ( Scalar x,
Scalar y,
Scalar z,
Scalar w )
inline

Definition at line 58 of file Tuple4.h.

Member Data Documentation

◆ comp

Scalar Tuple4::comp[4]
protected

Definition at line 63 of file Tuple4.h.


The documentation for this class was generated from the following file:
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/simu/simuv2/SOLID-2.0/include/3D/Tuple4.h