[vtkusers] vtkMath in Tcl
pablo p del castillo
pablodecastillo at yahoo.es
Mon May 17 17:22:32 EDT 2010
Hello,
I am writing samples for Tcl, so i began with simple Operations, it seems that vtkMath Distance2BetweenPoints is not working.
Is there any documentation saying what procedures are not working for Tcl?
package require vtk
##Create two points.
set p0 {0 0 0}
set p1 {1 1 1}
vtkMath math
##Find the squared distance between the points.
set squaredDistance [math Distance2BetweenPoints $p0 $p1]
puts $squaredDistance
Pablo
More information about the vtkusers
mailing list