Voronoi.Algorithms.FortuneHelpers.Vector.Randomize C# (CSharp) Method

Randomize() public method

Reset all elements with ransom values from the given range
public Randomize ( double Min, double Max ) : void
Min double Min
Max double Max
return void
        public void Randomize(double Min, double Max)
        {
            int i;
            for(i=0;i<data.Length;i++)
            {
                this[i] = Min + (Max-Min)*MathTools.R.NextDouble();
            }
        }

Same methods

Vector::Randomize ( Vector MinMax ) : void