[vtkusers] Iteration help
Robert Belleman
robbel at science.uva.nl
Thu Apr 26 03:29:24 EDT 2001
Shiva,
On Wed, Apr 25, 2001 at 07:45:37PM -0000, Shiva Bissoon wrote:
> Hi all,
> I am having some problems with iteration and I am hoping someone can assist.
> I am trying to create some random integers for positions of x, y and
> z.However, it just doesn't seem to recognize the parameters.if someone can
> run this and perhaps give some advise, I would be most grateful.
[...]
> vtkMath math$i
>
> set $x [math$i Random -2 2]
> set $y [math$i Random -1 1]
> set $z [math$i Random -1 1]
Change these lines to
set x [math$i Random -2 2]
set y [math$i Random -1 1]
set z [math$i Random -1 1]
-- Rob
[] Robert Belleman X Section Computational Science []
[] robbel at science.uva.nl |X| University of Amsterdam, the Netherlands []
[] tel: (+31) 20 525 7510 X http://www.science.uva.nl/~robbel/ []
More information about the vtkusers
mailing list