std-distance-2d | ![]() |
(std-distance-2d <p1> <p2>)
STD-DISTANCE-2D
returns the distance of the two points projected to the current UCS.
;;; 2D distance (omitting z values) (defun STD-DISTANCE-2D (p1 p2) (distance (xy-of p1) (xy-of p2)))
p1, p2: Points, either 2D or 3D. A point is a list of 2 or 3 numbers
A real number.
None.
(std-require 'STDPOINT)
Defined in STDPOINT
Note: Before version 0.4001 it was in STDENT!