[vtkusers] Can a VTK file contain POLYGONS and LINES?

Olumide 50295 at web.de
Wed Sep 12 17:49:41 EDT 2007


Like this:

# vtk DataFile Version 1.0
tes File
ASCII

DATASET POLYDATA
POINTS 8 float
5.411033 3.118523 0.000000
4.881898 2.831560 0.773217
4.942752 2.831560 0.000000
5.411033 3.118523 0.000000
5.344419 3.118523 -0.846471
4.942752 2.831560 0.000000
0.378225 0.347981 0.000000
0.366649 0.347656 0.000000

POLYGONS 2 8
3 0 1 2
3 3 4 5

LINES 1 3
2 6 7


Thanks.




More information about the vtkusers mailing list