------------------------------------------------------------------------------ Generate pseudo-random numbers distributed according to the uniform distribution between 0.0 and 1.0. This is used to provide portability across different systems.
| 92 | // distribution between 0.0 and 1.0. |
| 93 | // This is used to provide portability across different systems. |
| 94 | double vtkMath::Random() |
| 95 | { |
| 96 | vtkMath::Internal->Uniform->Next(); |
| 97 | return vtkMath::Internal->Uniform->GetValue(); |
| 98 | } |
| 99 | |
| 100 | //------------------------------------------------------------------------------ |
| 101 | // Initialize seed value. NOTE: Random() has the bad property that |