in reply to Re: Checking if squares intersect
in thread Checking if squares intersect
Hope my logic is right...can someone confirm?square #1: upper left= x1,y1 ; lower right= x2,y2 square #2: upper left= x3,y3 ; lower right= x4,y4 return !(x2 < x3 || x1 > x2 || y2 > y3 || y1 < y4)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Checking if squares intersect
by ikegami (Patriarch) on Oct 14, 2009 at 20:36 UTC | |
by Anonymous Monk on Oct 14, 2009 at 20:51 UTC | |
by ikegami (Patriarch) on Oct 14, 2009 at 21:13 UTC | |
by QM (Parson) on Oct 15, 2009 at 02:49 UTC | |
by Anonymous Monk on Oct 15, 2009 at 14:43 UTC | |
by ikegami (Patriarch) on Oct 20, 2009 at 01:17 UTC | |
|
Re^3: Checking if squares intersect
by JavaFan (Canon) on Oct 20, 2009 at 09:38 UTC |