Closest point on the intersection of two planes
ID: closest-point-on-the-intersection-of-two-planes
For two planes and with linearly independent normal vectors, put , , and . Their intersection is a line parallel to . Its closest point to the origin is orthogonal to that direction, hence has the form . The constraints give , , soFor every other point , orthogonality gives squared distance , proving the global minimum and its uniqueness. The positive determinant also proves that an intersection exists for every real . Parallel normals require a separate consistency check and do not define a unique intersection line.
New to topics? Read the docs here!