|
|
Given two lines X = P + s * D and X = Q + t * E the minimum distance of these lines is always 0 when they are not parallel (because they intersect) and otherwise, if they are parallel, we can choose any point on the first line and get the projection of it on the second to calculate the distance.
|
Copyright © by Martin Ecker |