|
|
BorisW37 wrote:
> If i have 2 points A <x1,y1,z1> and B <x2,y2,z2>, how do i find coordinates
> of point C <x3,y3,z3> which lies on the line AB, distance D from point A?
x3 = x1 + D * (x2 - x1)
assuming 0 <= D <= 1 (in other words,
assuming D is normallized).
Repeat for y and z.
--
Steve Martin, CPBE CBNT
Post a reply to this message
|
|