[squeak-dev] intersect: when intsersects: is false

Tobias Pape Das.Linux at gmx.de
Sun Jun 20 14:40:10 UTC 2010


Hello,

Am 2010-06-20 um 15:02 schrieb Nicolas Cellier:

> ((100 at 100 corner: 50 at 50) rotateBy: #pi centerAt: 0 at 0) area -> 2500.
> Rotating an empty rectangle does not preserve its emptyness.


Why shall (100 at 100 corner: 50 at 50) be an empty rectangle?
I do not understand. Especially, why is
(100 at 100 corner: 50 at 50) = (50 at 50 corner: 100 at 100)
false?
Isn't it just the same Rectangle, albeit, rotated?

So Long,
	-Tobias



More information about the Squeak-dev mailing list