Back to Math Script page

Distant from a line to a point xyz

 

The script will calculate the distant from a line to a point in xyz

The parameter for the line:

(X;Y;Z) = (Xo;Yo;Zo)+ t(a; b; c)

(Xo;Yo and Zo is a point on the line. a,b,c is the x,y,z "direction coordinates" of the same line)

Enter Xo:

Enter Yo:

Enter Zo:

Enter a:

Enter b:

Enter c:

Enter the point to calculate the distant:

Enter Xp: Enter Yp: Enter Zp:



The distant is:




© 2013 | kimstorgaard.com