On 13 February 2013 23:41, Nicolas Cellier <[email protected]> wrote: > Ah, and the change is the other way around, <= was replaced with <... > I ask because we had a request in squeak-dev after I changed > Rectangle>>intersects: > and was wondering if this should be in Squeak too > > http://lists.squeakfoundation.org/pipermail/squeak-dev/2013-January/167855.html > yes, imo :
"The right question is: do the two rectangles have points in common?" > 2013/2/13 stephane ducasse <[email protected]>: >> Nicolas >> >> what I know is that with igor we fixed all the senders of fractions:offset: >> and >> after igor introduced intersect:ifNone: >> to avoid generating "wrong" rectangles with negative values. >> >> I thought that intersect: was deprecated. >> or the precondition should be clearer. >> >> Stef >> >> On Feb 13, 2013, at 9:55 PM, Nicolas Cellier >> <[email protected]> wrote: >> >>> Rectangle>>intersects: has been changed recently (GuillermoPolito 2/8/2013) >>> rCorner x < origin x ifTrue: [ ^ false ]. >>> rCorner y < origin y ifTrue: [ ^ false ]. >>> rOrigin x > corner x ifTrue: [ ^ false ]. >>> rOrigin y > corner y ifTrue: [ ^ false ]. >>> >>> these inequalities have been transformed into <= and >= >>> Can someone point me to the issue number documenting this change? >>> >>> Nicolas >>> >> >> > -- Best regards, Igor Stasenko.
