Distance between point and a line math math distance from point to line segment.

Distance between point and a line math there is one mathematical rule that made a lasting impression on me the shortest distance between two points is a straight line mathematica distance point line.