Open CASCADE Technology 6.6.0
Public Member Functions
math_IntegerRandom Class Reference

This class implements an integer random number generator.

#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.

void Reset ()
 reinitializes the random generator

Standard_Integer Next ()
 returns the next random number.


Constructor & Destructor Documentation

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

Member Function Documentation

Standard_Integer math_IntegerRandom::Next ( )
void math_IntegerRandom::Reset ( )

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines