忘记后面跟着的一段子程序了,Sorry!- ;;本子程序用于处理一维交点程序点至三维交点
- (defun Intersect-pnt-Handle ( intersect_pnt_lst / result_pnt_lst )
- (if intersect_pnt_lst
- (progn
- (repeat (/ (length intersect_pnt_lst) 3)
- (setq result_pnt_lst (cons (list (car intersect_pnt_lst) (cadr intersect_pnt_lst) (caddr intersect_pnt_lst)) result_pnt_lst)
- intersect_pnt_lst (cdddr intersect_pnt_lst)
- )
- )
- )
- )
- (reverse result_pnt_lst)
- )
|