WG-G>I have several points which shoud be connected with lines - how can i do this in c++? Why not setting your points in a VTK ? Google' for hello.vtk and you'll find out, it's pretty simple... After that, I don't know if your points are already ordered or not, etc... Cheers, Thomas