Added by Garrett on December 01, 2001 at 02:21:57:
A point is specified by an ordered triple of numbers called its coordinates. Let the coordinates of Pi be (xi,yi,zi), for i = 1 and 2.
The distance from P1 to P2 is
d = sqrt[(x1-x2)2 + (y1-y2)2 + (z1-z2)2]