Open CASCADE Technology  6.8.0
Public Member Functions
math_IntegerRandom Class Reference

This class implements an integer random number generator. More...

#include <math_IntegerRandom.hxx>

Public Member Functions

 math_IntegerRandom (const Standard_Integer Lower, const Standard_Integer Upper)
 creates a Integer random generator between the values Lower and Upper. More...
 
void Reset ()
 reinitializes the random generator More...
 
Standard_Integer Next ()
 returns the next random number. More...
 

Detailed Description

This class implements an integer random number generator.

Constructor & Destructor Documentation

math_IntegerRandom::math_IntegerRandom ( const Standard_Integer  Lower,
const Standard_Integer  Upper 
)

creates a Integer random generator between the values Lower and Upper.

Member Function Documentation

Standard_Integer math_IntegerRandom::Next ( )

returns the next random number.

void math_IntegerRandom::Reset ( )

reinitializes the random generator


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