P1(x1,y1,z1)  
P2(x2,y2,z2)
                          ____________________________
distance      =    \/ (x1-x2)^2 + (y1-y2)^2 + (z1-z2)^2
 
Should look something like this.
-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Michael P. McCutcheon
Sent: 03 October 2001 15:24
To: [EMAIL PROTECTED]
Subject: [JAVA3D] OT: How to get the distence between two points?

I think there is a simple mathematical formula for getting the distence between two points...
 
i.e.
 
-3,2,5 and 5,-6,2
 
Does anyone remember what this is?
 
Mike
 

Reply via email to