Hello.
I played with Force based layout and noticed that in some cases you can get infinite recursion.
If you call method #withAll:origin:corner:
from RTQuarTree class with parameters
origin = (3.258667150078313e13@5.406136133593736e12)
corner = (3.258667150079787e13@5.40613613360932e12)
you would get
dx := corner x - origin x = 14.7421875
dy := corner y - origin y = 15.583984375
So, in this case you will execute the case
dy > dx ifTrue: [ ^ self withAll: aNodeCollection origin: origin corner: (origin x + dy) @ corner y ]
and you will get infinite recursion, because always dy will be =15.583984375 and dx = 15.58203125.
Best regards,
Natalia
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev