(t (push (car l) otherlines)))) |
(t (push (car l) otherlines)))) |
(setq yokolines (sort yokolines |
(setq yokolines (sort yokolines |
(function (lambda (x y) |
(function (lambda (x y) |
|
; (prind `(x ,x)) |
|
; (prind `(y ,y)) |
(lets ((p0 (nth (caadr x) points)) |
(lets ((p0 (nth (caadr x) points)) |
(p1 (nth (caadr y) points))) |
(p1 (nth (caadr y) points))) |
(lessp (cadr p0) (cadr p1))))))) |
(lessp (cadr p0) (cadr p1))))))) |
; |
; |
; child-of |
; child-of |
; |
; |
|
(declare (eps) special) |
(setq eps 10^-5) |
(setq eps 10^-5) |
(defun child-of (line0 line1 points) |
(defun child-of (line0 line1 points) |
(lets ((x00 (car (nth (caadr line0) points))) |
(lets ((x00 (car (nth (caadr line0) points))) |