Calculator for distance between two points in three-dimensional space and coordinates of midpoint

X Y Z
A :
B :
Distance between point A and point B:
Coordinate midpoint:
x:y:z:

设A(x1,y1,z1),B(x2,y2,z2),|AB|=√[(x2-x1)^2+(y2-y1)^2+(z2-z1)^2]