add ability to get closestPointToPointParameter on a line.