The distance of a point from a straight line (line-point distance), understood as orthogonal distance, that is, the distance between the given point and the closest point on the line, is given by:
In the n-dimensional case, the point on the line described by equation (1.22) that is closest to a point
is the point for which the scalar
assumes the value
| (1.32) |
This version becomes very interesting when measuring the distance between a point and a segment
utilizing the line generated as in equation (1.29). In this case, a value of
between
indicates that the closest point to
lies within the segment, as the scalar projection of segment
onto segment
.
Finally, in section 1.5.10, in equation (1.54), it will be shown how to find the point on a hyperplane that is closest to a generic point. This formulation can also be applied to lines expressed in hyperplane form, and consequently, the point on line
that is closest to point
is
| (1.33) |
Paolo medici