Calculates the distance of the point (x, y, z) from the origin (0, 0, 0)
in three-dimensional space.
The distance is the value of the square root of the sums of the squares
of x, y, and z:
sqrt(x2 + y2 + z2)
Note that the distance between two points (x1, y1, z1) and (x2, y2, z2)
in three-dimensional space can be calculated as hypot(x2-x1, y2-y1, z2-z1).
Calculates the distance of the point (x, y, z) from the origin (0, 0, 0) in three-dimensional space. The distance is the value of the square root of the sums of the squares of x, y, and z:
sqrt(x2 + y2 + z2)
Note that the distance between two points (x1, y1, z1) and (x2, y2, z2) in three-dimensional space can be calculated as hypot(x2-x1, y2-y1, z2-z1).