|
|
Given a plane n * X = d and a line X = P + t * D, the plane and line can either be parallel to each other or intersect each other. If the plane and the line are not parallel the distance is 0 because they intersect. If the plane and line are parallel the distance is always the same and we can compute the minimum distance by projecting the base point P of the line onto the plane and computing the distance between P and the projected point.
|
Copyright © by Martin Ecker |