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

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sun Jun 20 18:54:11 UTC 2010


2010/6/20 Tobias Pape <Das.Linux at gmx.de>:
> 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
>

I don't know why this choice was made. But that's how things are, at
least in VW Squeak and Dolphin.
It might be difficult to change things now.

Nicolas



More information about the Squeak-dev mailing list