Distance3D-func
This function is used to return the distance of two points in 3D. .
double Distance3D(double px1, double py1, double pz1, double px2, double py2, double pz2)
All arguments are of numeric type double
px1
py1
pz1
px2
py2
pz2
Return the distance.
double ff=distance3D(1,1,1,3,3,3); ff=; //Should return 3.4641016151378.
Distance