I have three parallel lines (3d lines). say AB, CD, EF. The center line i.e. CD is given by intersecting the two planes by which the AB, DE lie on. The shortest distance between AB and CD (say d1) is not exactly equal to the CD and EF (say d2).
the line which is given a shorter distance from the center line should be replaced by a fourth line, making equal distance separation with the other line.
I know vectors of each line, and also know a 3D point lie on each line as well.
I was trying to do it. But cannot figure out exactly and got some wrong answers. sometime fourth line make the separation more shorter (may be the vector is directing other way). I should say that vectors of AB,CD & EF lines are not directing in to same direction.
So, I am looking for a concrete way to do this. I have vector3 class.
please anyone show me how to do this. thanks