When the line is vertical or horizontal. Press Ctrl D again as many times as you want. Distance Between Two Points formula.
Distances are always positive or zero if the points coincide.
I have checked other questions but nobody is talking about how to calculate the height of an object using GPS Consider I have two data points vertically not horizontally which calculates the distance I have lat1lon1alt1 and lat2lon2alt2. If you have two points x1 y1 and x2 y2 then you can calculate the difference in x and difference in y lets call them a and b. Make sure you get it exactly the way you want it. Step-by-step explanation is provided.