29 Sep
2008
29 Sep
'08
1:35 p.m.
On Sun, 2008-09-28 at 22:19 +0200, J.B.C.Engelen@...1578... wrote:
Okay... now *finally* I've found the cause. Adding infinite points to a 2geom path causes that non-continuity error. LPESpiro calls appendNew with infinite coordinates sometimes.
Good work!
Hm, so, that also sounds like the Curve constructors should maybe check that their endpoints are finite and raise a more specific (catchable) exception; "continuity error" isn't very descriptive of what's happening.
(Also, the point of appendNew is that it should never produce a discontinuity. So raising continuity error versus some more helpful exception in this case is arguably a bug.)
-mental