function getDistance3d (shared-side)
Available since version: 0.3.0
Get the 3d distance between two points.
Declaration
number getDistance3d(number x1, number y1, number z1, number x2, number y2, number z2)
Parameters
numberx1: The position on X axis of the first point.numbery1: The position on Y axis of the first point.numberz1: The position on Z axis of the first point.numberx2: The position on X axis of the second point.numbery2: The position on Y axis of the second point.numberz2: The position on Z axis of the second point.
Returns number
The distance between the two points.