sqrt((x1-x2)^2 + (y1-y2)^2 + (z1-z2)^2)

Jan

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael P. McCutcheon
Sent: Wednesday, October 03, 2001 4:24 PM
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

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to