doctor_m_2000

06-22-2001, 10:45 AM

I need the formula for calculating the distance between a point and a straight line . I know:

point :Xp, Yp, Zp.

straight line passing between 2 points : X1,Y1,Z1----X2,Y2,Z2

want to know:

distance: X,Y,Z value along the normal between straight line and given point.

Thanx a lot.

Marco.

point :Xp, Yp, Zp.

straight line passing between 2 points : X1,Y1,Z1----X2,Y2,Z2

want to know:

distance: X,Y,Z value along the normal between straight line and given point.

Thanx a lot.

Marco.