Extract co-ordinates from a vector of co-ordinates and save to file
- by barsil sil
I have a vector which contains a list co-ordinates ...x1,y1 ; x2,y2....xn,yn
I am trying to extract each individual element which is a co-ordinate and then save them to file as a nice delineated co-ord pair which can be easily read. Or what would be nice i to save them so I can plot something in excel e.t.c (as cols of x and y values).
My original vector size is 31, and was originally constructed as
vector<vector<Point> > myvector( previous vector.size() );
Thanks !