CFx SDK Documentation 2024 SP0
|
#include <OdRandom.h>
Public Member Functions | |
OdRandomGenMinstd (OdUInt32 seed=1) | |
virtual | ~OdRandomGenMinstd () |
virtual OdRandomGenMinstd * | clone () |
virtual void | setSeed (OdUInt32 seed) |
virtual OdUInt32 | getSeed () const |
virtual void | getRange (OdUInt32 &high) const |
virtual OdUInt32 | generate () |
Public Member Functions inherited from OdRandomGen | |
virtual | ~OdRandomGen () |
virtual OdRandomGen * | clone ()=0 |
virtual void | setSeed (OdUInt32 seed)=0 |
virtual OdUInt32 | getSeed () const =0 |
virtual void | getRange (OdUInt32 &high) const =0 |
virtual OdUInt32 | generate ()=0 |
<group Other_Classes> Default random data generator: equivalent to std::minstd_rand
Definition at line 125 of file OdRandom.h.
OdRandomGenMinstd::OdRandomGenMinstd | ( | OdUInt32 | seed = 1 | ) |
|
virtual |
|
virtual |
Implements OdRandomGen.
|
virtual |
Implements OdRandomGen.
Implements OdRandomGen.
|
virtual |
Implements OdRandomGen.
Implements OdRandomGen.