soegaard / metapict

A graphics library for producing Racket picts in a MetaPost/TikZ style.
http://soegaard.github.io/metapict/
65 stars 13 forks source link

The function `bez-arc-length` needs to test for unbounded control points. #44

Open soegaard opened 1 year ago

soegaard commented 1 year ago

The function bez-arc-length doesn't handle the case where +inf.0 are used as coordinates.

(struct:bez #(struct:pt 203.2 0.0) #(struct:pt +inf.0 +inf.0) #(struct:pt -inf.0 -inf.0) #(struct:pt 203.15 0.0))