Blender V2.61 - r43446
Public Member Functions | Protected Attributes

MT_Tuple2 Class Reference

#include <MT_Tuple2.h>

Inheritance diagram for MT_Tuple2:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MT_Tuple2 ()
 MT_Tuple2 (const float *vv)
 MT_Tuple2 (const double *vv)
 MT_Tuple2 (MT_Scalar xx, MT_Scalar yy)
MT_Scalaroperator[] (int i)
const MT_Scalaroperator[] (int i) const
MT_Scalarx ()
const MT_Scalarx () const
MT_Scalary ()
const MT_Scalary () const
MT_Scalaru ()
const MT_Scalaru () const
MT_Scalarv ()
const MT_Scalarv () const
MT_ScalargetValue ()
const MT_ScalargetValue () const
void getValue (float *vv) const
void getValue (double *vv) const
void setValue (const float *vv)
void setValue (const double *vv)
void setValue (MT_Scalar xx, MT_Scalar yy)

Protected Attributes

MT_Scalar m_co [2]

Detailed Description

Definition at line 53 of file MT_Tuple2.h.


Constructor & Destructor Documentation

MT_Tuple2::MT_Tuple2 ( ) [inline]

Definition at line 55 of file MT_Tuple2.h.

MT_Tuple2::MT_Tuple2 ( const float *  vv) [inline]

Definition at line 56 of file MT_Tuple2.h.

References setValue().

MT_Tuple2::MT_Tuple2 ( const double *  vv) [inline]

Definition at line 57 of file MT_Tuple2.h.

References setValue().

MT_Tuple2::MT_Tuple2 ( MT_Scalar  xx,
MT_Scalar  yy 
) [inline]

Definition at line 58 of file MT_Tuple2.h.

References setValue().


Member Function Documentation

MT_Scalar* MT_Tuple2::getValue ( ) [inline]
const MT_Scalar* MT_Tuple2::getValue ( ) const [inline]

Definition at line 76 of file MT_Tuple2.h.

References m_co.

void MT_Tuple2::getValue ( float *  vv) const [inline]

Definition at line 78 of file MT_Tuple2.h.

References m_co.

void MT_Tuple2::getValue ( double *  vv) const [inline]

Definition at line 82 of file MT_Tuple2.h.

References m_co.

MT_Scalar& MT_Tuple2::operator[] ( int  i) [inline]

Definition at line 60 of file MT_Tuple2.h.

References i, and m_co.

const MT_Scalar& MT_Tuple2::operator[] ( int  i) const [inline]

Definition at line 61 of file MT_Tuple2.h.

References i, and m_co.

void MT_Tuple2::setValue ( const double *  vv) [inline]

Definition at line 90 of file MT_Tuple2.h.

References m_co.

void MT_Tuple2::setValue ( MT_Scalar  xx,
MT_Scalar  yy 
) [inline]

Definition at line 94 of file MT_Tuple2.h.

References m_co.

void MT_Tuple2::setValue ( const float *  vv) [inline]

Definition at line 86 of file MT_Tuple2.h.

References m_co.

Referenced by BL_ConvertMesh(), ConvertMaterial(), MT_Tuple2(), and KX_RayCast::reportHit().

MT_Scalar& MT_Tuple2::u ( ) [inline]

Definition at line 69 of file MT_Tuple2.h.

References m_co.

const MT_Scalar& MT_Tuple2::u ( ) const [inline]

Definition at line 70 of file MT_Tuple2.h.

References m_co.

MT_Scalar& MT_Tuple2::v ( ) [inline]

Definition at line 72 of file MT_Tuple2.h.

References m_co.

const MT_Scalar& MT_Tuple2::v ( ) const [inline]

Definition at line 73 of file MT_Tuple2.h.

References m_co.

MT_Scalar& MT_Tuple2::x ( ) [inline]

Definition at line 63 of file MT_Tuple2.h.

References m_co.

Referenced by KX_ObstacleSimulationTOI_rays::sampleRVO().

const MT_Scalar& MT_Tuple2::x ( ) const [inline]

Definition at line 64 of file MT_Tuple2.h.

References m_co.

MT_Scalar& MT_Tuple2::y ( ) [inline]

Definition at line 66 of file MT_Tuple2.h.

References m_co.

Referenced by KX_ObstacleSimulationTOI_rays::sampleRVO().

const MT_Scalar& MT_Tuple2::y ( ) const [inline]

Definition at line 67 of file MT_Tuple2.h.

References m_co.


Member Data Documentation

MT_Scalar MT_Tuple2::m_co[2] [protected]

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