find the closest distance between point and line | ScratchStats