phetsims / kite

A library for creating, manipulating and displaying 2D shapes in JavaScript.
MIT License
13 stars 6 forks source link

EllipticalArc intersection failure #97

Open jonathanolson opened 2 years ago

jonathanolson commented 2 years ago

Reproducible in playground with:

kite.Shape.union( [ new kite.Shape( 'M 8.00000000000000355271 -66.00000000000000000000 A 16.00000000000000000000 9.00000000000000000000 360 1 0 7.99999999999999911182 -84.00000000000000000000 A 24.00000000000000000000 9.00000000000000000000 360 1 1 8.00000000000000355271 -66.00000000000000000000 ' ) ] );

The box intersection creates an infinite number of boxes. Noticed by @marlitas in fractions-intro (with fractions-common branch implementBeaker) when using the helper to inspect the beaker.