Page 1 of 1

Drawing polyline from file

Posted: Wed Aug 24, 2016 3:30 am
by maczinc
Hi everyone,
I have a txt file which contains the coordinates of one polyline written in just one line, like this:
215.215 2154.2 144.213 2352.235 201.1 2354.32 ...
How can I read each number in order to draw that polyline?
Note: the coordinates line alternate between the X coordinate and Y coordinate.
Thank for your seggestions.