In geometry, the perpendicular distance between two objects is the distance from one to the other, measured along a line that is perpendicular to one or both.
The distance from a point to a line is the distance to the nearest point on that line. That is the point at which a segment from it to the given point is perpendicular to the line.
Likewise, the distance from a point to a curve is measured by a line segment that is perpendicular to a tangent line to the curve at the nearest point on the curve.
The distance from a point to a plane is measured as the length from the point along a segment that is perpendicular to the plane, meaning that it is perpendicular to all lines in the plane that pass through the nearest point in the plane to the given point.
Other instances include:
Perpendicular regression fits a line to data points by minimizing the sum of squared perpendicular distances from the data points to the line. Other geometric curve fitting methods using perpendicular distance to measure the quality of a fit exist, as in total least squares.
The concept of perpendicular distance may be generalized to