|
![](/i/fill.gif) |
Thanks for all your answers.
I'll use this one on Excel.
Cheers.
HF
> The scalar distance between two points can be found by:
>
> sqrt( (x2 - x1)^2 + (y2 - y1)^2 + (z2 - z1)^2 )
>
> where <x1, y1, z1> is your first point, and <x2, y2, z2> is your second
> point.
>
> So, in your example:
>
> sqrt( (7 - 2)^2 + (-8 - 3)^2 + (3 - 4)^2 )
>
> = sqrt( 5^2 + (-5)^2 + (-1)^2 )
>
> = sqrt( 25 + 25 + 1)
>
> = sqrt(51)
>
> = 7.14 (approximately)
>
> - How
>
> news:396A0D89.699D3985@club-internet.fr...
> > Hi you all.
> >
> > To make a smooth animation, I'd like to measure the distance between two
> > points ( ie : distance between <2,3,4> and <7,-8,3>)
> >
> > Does anyone know the formulae to calculate it?
> >
> > Thanks
> >
> >
> >
Post a reply to this message
|
![](/i/fill.gif) |