distance

(distance point1 point2)

The distance function calculates the distance between point1 and point2.

These specified points are assumed to be 3D points.

Examples

: (distance '(1 2) '(1 3))

1.0000

: (distance '(1 2) '(1 2 3))

0.0000

: (distance '(1 2 3) '(1 2 4))

1.0000

: (distance '(1 2 3) '(4 5 6))

5.1962