The distance between two points is the length of a straight line segment that links them.
The distance of a point from a line is the length of the shortest line segment from the point to the line. This will also be perpendicular to the line.
(C) 2011 Copyright Math Open Reference.
All rights reserved