Finding the coordinates of vector segments is actually quite complex. A line might actually be made up of several segments and or have a fill colour applied to its bounds. It all depends on how the PDF was encoded.
In theory it would be possible to rig up a selector tool like text selection but this would represent a lot of work. And it would facilitate an automated process.