ptabdph1hlresult
(0,0)(0,0)(0,0)(0,0)(0,0)0000

Notice that if you are close to the line, the value of result is between 0 and 1. Beyond the line in any direction the value will be 0. Drag in the graph to see the values change.