[vtkusers] Function to read a file

ClaudeG claude.gangolf at gmail.com
Mon Jul 6 09:10:08 EDT 2009

The problem is that i have a file which is like this :

0 2
1.5 1.5 1.5 1.5 1.5 1.5 
2.5 2.4 2.6 2.4  2.5 2.7

where in the first line 0 stands for the time (here the first time step) 2
stand for two vectors and then comes the coordinates from the vectors, the
second line has the coordinates from the first vector an so on, the first
three values are the x,y,z coordinate from the starting point and the last
three values are teh x,y,z values from the ending point.

And i want now read the file and stor the value in x1, y1, z1, x2, y2, z2,
so that i can use the values later in an other function. 
View this message in context: http://www.nabble.com/Function-to-read-a-file-tp24350476p24355149.html
Sent from the VTK - Users mailing list archive at Nabble.com.

More information about the vtkusers mailing list