| 399 | } |
| 400 | |
| 401 | void RandomPoint(vtkRandom* seq, double* p) |
| 402 | { |
| 403 | // Set p to be a random point in the box (-1,1) x (-1,1) x (-1,1). |
| 404 | for (int i = 0; i < 3; i++) |
| 405 | { |
| 406 | seq->Next(); |
| 407 | p[i] = -1. + 2. * seq->GetValue(); |
| 408 | } |
| 409 | } |
| 410 | |
| 411 | int TestPositiveResult(vtkRandom* seq, unsigned nTests) |
| 412 | { |
no test coverage detected