(distance point1 point2)


Determine the distance between two points.


The distance function returns the distance between two points. Point1 and point2 are the x,y or x,y,z coordinates of the point.

Example

Code Returns
(setq a '(2 3))
(setq b '(5 1))
(distance a b)


3.60555

Tell me about...

(angle point1 point2)

(inters point1 point2 point3 point4 [flag])

(polar point angle distance)

(setq symbol1 statement1 [symbol2 statement2] ...)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language