src/AircraftTrajectories/Models/Visualisation/KML/AnimationSections/AnnoyanceKMLAnimator.cs
/// <summary>
/// Returns true with a given chance
/// </summary>
/// <param name="chance"></param>
/// <param name="seed"></param>
/// <returns></returns>
Returns true with a given chance
Returns true with a given chance
protected bool randomBool(double chance, int seed)
        {
            Random randomListCell = new Random(seed);
            return (chance > randomListCell.NextDouble());
        }
protected bool randomBool ( double chance , int seed ) { Random randomListCell = new Random ( seed ) ; return ( chance > randomListCell . NextDouble ( ) ) ; }
Returns true with a given chance
Returns true with a given chance
None
chance
double
None
seed
int
None