|AB|=√[(X2-X1)^2+(Y2-Y1)^2+(Z2-Z1)^2],
|AC|=√[(X3-X1)^2+(Y3-Y1)^2+(Z3-Z1)^2],
|BC|=√[(X3-X2)^2+(Y3-Y2)^2+(Z3-Z2)^2].