meaning of intersects?
Ned Konz
ned at bike-nomad.com
Tue Mar 6 00:56:09 UTC 2001
I've just noticed what I thought was an oddity:
big _ 100 at 100 corner: 200 at 200.
small _ 140 at 140 corner: 160 at 160.
big intersects: small "true"
however, none of the sides of small answer true to intersectsLineFrom:to:
big intersectsLineFrom: small topLeft to: small topRight. "false"
etc...
so what does "intersects" mean in this case?
Right now, if a Rectangle lies entirely inside another Rectangle, these are
said to be intersecting.
However, if a line segment lies entirely inside a Rectangle, these are not
said to be intersecting.
I just thought this was curious...
--
Ned Konz
currently: Stanwood, WA
email: ned at bike-nomad.com
homepage: http://bike-nomad.com
More information about the Squeak-dev
mailing list
|