Bézier curves/Intersections: Difference between revisions

Assume the C definition of epsilon.
(Assume the C definition of epsilon.)
Line 4,416:
 
(define *absolute-tolerance*
(make-parameter (* 10050 fl-epsilon) check-absolute-tolerance))
 
(define (compare-lengths norm ax ay bx by)
Line 4,589:
;; PERHAPS IT WOULD BE BETTER TO HAVE THIS DEFINITION BE A
;; PARAMETER.
(<= (abs (- x y)) (* 0.5 fl-epsilon (max (abs x) (abs y)))))
 
(define (include-params tp tq lst)
1,448

edits