[interfacekit] Re: about the BRect bug
- From: Erik Jaesler <erik@xxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Tue, 03 Dec 2002 00:38:33 -0800
burton666@xxxxxxxxxxx wrote:
> I don't think this is a bug. If a Rect
> totally contains another, the two perimeters never intersects. So it could be
> that
> Intersects() means "the perimeter intersects...".
According to the BeBook "Intersect() returns true if the BRect has any
area -- even a corner or part of a side -- in common with rect, and
false if it doesn't." If "rect" is entirely contained within the BRect,
then the entire area of "rect" is "in common" and, therefore,
intersecting. I'm still of the opinion that this is a bug.
e
- References:
- [interfacekit] about the BRect bug
- From: burton666
Other related posts:
- » [interfacekit] about the BRect bug
- » [interfacekit] Re: about the BRect bug
- » [interfacekit] Re: about the BRect bug
- » [interfacekit] Re: about the BRect bug
- [interfacekit] about the BRect bug
- From: burton666