[vtkusers] Wrap of vtkMath.Cross / vtkMath.Normalize
Mathieu Malaterre
Mathieu.Malaterre at creatis.insa-lyon.fr
Wed Sep 10 09:55:09 EDT 2003
Hi all,
Am I missing something or is there a problem with those methods:
vtkMath.Normalize & vtkMath.Cross
##########################
import vtk
a=1,2,3
vtk.vtkMath.Norm(a) #ok
vtk.vtkMath.Normalize(a)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: object doesn't support item assignment
##########################
Thanks,
mathieu
--
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/
More information about the vtkusers
mailing list