Point to Line - notice black line defined by point 5 and point 2 - clicking a third point will give a distance from the selected
                       line. Clicking another point will recalculate distance.

Different line is selected - distance is always perpendicular

back