- (setq lst '((0.0 0.0 0.0)
- (15.0 0.0 0.0)
- (0.0 0.0 0.0)
- (15.0 15.0 0.0)
- (15.0218 15.0 0.0)
- (0.0 20.8341 0.0)
- (30.0 30.0 0.0)
- (40.0 30.0 0.0)
- (60.0 55.0 0.0)
- (90.0 80.0 0.0)
- (80.0 80.0 0.0)
- (90.0 90.0 0.0)
- (100.0 90.0 0.0)
- (100.0 100.0 0.0)
- (79.5591 100.0 0.0)))
- (defun JC-tt(lst)(mapcar'(lambda(x)(vl-remove-if-not'(lambda(y)(= x (cadr y)))lst))(vl-sort (jc-remove (mapcar'cadr lst))'<)))
- (defun jc-remove(lst / X LSTX)(while (setq x(car lst))(setq lst(vl-remove x lst))(setq lstx(cons x lstx)))(reverse lstx))
|