Open CASCADE Technology
6.8.0
|
This class implements a real random generator. More...
#include <math_RealRandom.hxx>
Public Member Functions | |
math_RealRandom (const Standard_Real Lower, const Standard_Real Upper) | |
creates a real random generator between the values Lower and Upper. More... | |
void | Reset () |
reinitializes the random generator More... | |
Standard_Real | Next () |
returns the next random number. More... | |
This class implements a real random generator.
math_RealRandom::math_RealRandom | ( | const Standard_Real | Lower, |
const Standard_Real | Upper | ||
) |
creates a real random generator between the values Lower and Upper.
Standard_Real math_RealRandom::Next | ( | ) |
returns the next random number.
void math_RealRandom::Reset | ( | ) |
reinitializes the random generator