本帖最后由 USER2128 于 2015-11-5 08:44 编辑
- (setq points '((378499.0 43587.4 -1.65106e-056)
- (378499.0 43587.4 -1.65106e-056)
- (378499.0 43587.4 -1.65106e-056)
- (378480.0 43587.4 -1.65106e-056)
- ))
- ;;; 对点表进行X、Y、Z排序(此略).
- (setq tmp (mapcar '(lambda(x y) (if (equal x y) nil y))
- points (cdr points)))
- (setq tmp (vl-remove 'nil tmp))
- (setq tmp (cons (car points) tmp))
|