xdrx_points_QHull
xdrx_points_MHull (divide and conquer algorithm)
xdrx_points_GHull (Scan algorithm)
xdrx_points_GHull1 (Scan algorithm)
xdrx_points_CHull (Double-headed chain algorithm)
(if (setq ss
(xdrx
-ssget "\nSelect Points<Exit>" '
((0 .
"point")))) (xdrx-runtime t)
(xdrx
-prompt "\nCollection point...") (setq pts
(xdrx
-getpropertyvalue ss
"position") )
(xdrx
-prompt (xdrx
-string
-format
"\nPoints collected: %d, time taken: %.2f seconds." (length pts
) ti
)) (xdrx
-prompt "\nCalculate minimum distance point pairs...") (xdrx-runtime t)
(setq info
(xdrx_points_QHull pts
)) (xdrx-polyline-make info)
(xdrx
-setpropertyvalue
(entlast) "color" 1) (xdrx
-prompt (xdrx
-string
-format
"\nCalculation completed, time taken: %.2f seconds." ti
)) )
)
)