TMCRandom Class Reference
[MCCore]

Inheritance diagram for TMCRandom:

TMCGaussianRandom List of all members.

Public Member Functions

 TMCRandom ()
 TMCRandom (int32 seed)
void SetSeed (int32 seed)
int32 GetSeed () const
int32 Rand ()
real32 RealRand ()
real FloatAbs ()

Private Attributes

int32 fSeed

Detailed Description

Random Number Generator


Constructor & Destructor Documentation

TMCRandom::TMCRandom (   )  [inline]
 

TMCRandom::TMCRandom (  int32  seed  )  [inline]
 


Member Function Documentation

real TMCRandom::FloatAbs (   )  [inline]
 

Returns a nicely distributed random number between 0 and 1.

int32 TMCRandom::GetSeed (   )  const [inline]
 

int32 TMCRandom::Rand (   )  [inline]
 

real32 TMCRandom::RealRand (   )  [inline]
 

void TMCRandom::SetSeed (  int32  seed  )  [inline]
 


Member Data Documentation

int32 TMCRandom::fSeed [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Mar 14 12:29:09 2005 for Carrara SDK Doc by  doxygen 1.3.9.1