lines to points