magpie.coords.dist3d

dist3d(x1, y1, z1, x2, y2, z2)

Returns the distance between two points in 3D.

Parameters
x1, y1, z1float or array

Location of first points.

x2, y2, z2float or array

Location of second points.

Returns
distfloat or array

Distance between point 1 and 2.