oevislib_net  0.14.3.0
Loading...
Searching...
No Matches

Generator of pseudo-random numbers. More...

Inheritance diagram for oevislib_net.Random:

Public Member Functions

 Random ()
 Creates a new Random object.
 Random (int inSeed)
 Creates a new Random object using the provided seed.
Random Copy ()
void Reset ()
 Reinitialize the generator using a random seed.
void Reset (int inSeed)
 Reinitialize the generator using the provided seed.
int Get (Range inRange)
 Returns a random integer value in the provided range.
int Get (int inRangeStart=0, int inRangeEnd=100)
 Returns a random integer value in the provided range.
float Get (Interval inInterval)
 Returns a random float value in the provided interval.
float Get (float inIntervalStart=0.0f, float inIntervalEnd=1.0f)
 Returns a random float value in the provided interval.
Point2D GetPoint (Interval inIntervalX, Optional< Interval > inIntervalY=null)
 Returns a Point2D object with random coordinates included in the provided intervals.
Point2Di GetPosition (Range inRangeX, Optional< Range > inRangeY=null)
 Returns a Point2Di object with random coordinates included in the provided intervals.
Array< int > GetArray (int inSize, int inRangeStart=0, int inRangeEnd=100)
 Returns an array of random integers.
Array< float > GetArray (int inSize, float inIntervalStart=0.0f, float inIntervalEnd=1.0f)
 Returns an array of random floats.
Array< Point2DGetPointArray (int inSize, Interval inIntervalX, Optional< Interval > inIntervalY=null)
 Returns an array of Point2D objects with random coordinates included in the provided intervals.
Array< Point2DiGetPositionArray (int inSize, Range inRangeX, Optional< Range > inRangeY=null)
 Returns an array of Point2Di objects with random coordinates included in the provided intervals.
bool Equals (Random other)
override bool Equals (object obj)
override int GetHashCode ()
override object Clone ()
override void Dispose ()

Static Public Member Functions

static bool operator== (Random inRandom1, Random inRandom2)
static bool operator!= (Random inRandom1, Random inRandom2)

Detailed Description

Generator of pseudo-random numbers.