CindyJS icon indicating copy to clipboard operation
CindyJS copied to clipboard

drawing of degenerate shape computation crashes CindyJS

Open montaga opened this issue 7 years ago • 4 comments

When I draw the (degenerate) shape, halfplane(join(A,B),A)~~circle(A,1) for two points A and B with fill or draw, CindyJS crashes. There should be some better error handling.

montaga avatar Jan 16 '19 09:01 montaga

It looks like only Firefox is affected.

strobelm avatar Jan 16 '19 09:01 strobelm

Chromium is affected too. I guess some numerical sideeffects safe us from the bug. But if points are moved around in this applet, then the tab eventually crashes.

montaga avatar Jan 16 '19 09:01 montaga

evaluator.halfplane$2 needs some work. I'll look into it.

strobelm avatar Jan 16 '19 10:01 strobelm

What wonders me is that an applet drawing halfplane(join(A,B),A) only does not crash. Maybe the bug is related to the clipper

montaga avatar Jan 16 '19 10:01 montaga