Thanks to all who pointed out:

xmin1 <= xmax2 && xmax1 >= xmin2 && ymin1 >= ymax2 && ymax1 >0 ymin2

I should have realised how trivial the solution is!

-afzal

Thanks to all who pointed out:

xmin1 <= xmax2 && xmax1 >= xmin2 && ymin1 >= ymax2 && ymax1 >0 ymin2

I should have realised how trivial the solution is!

-afzal

1. Area of overlap of rectangle and circle, anyone?

Hello, world

The subject says it all. All help appreciated.

Thanks,

--

--Steve

Stephen Crane, Dept of Computing, Imperial College of Science, Technology and

ObFortune: "Kirk to Enterprise -- beam down yeoman Rand and a six-pack."

2. Area bounded by Bezier curves

3. Overlapping rectangles -- HELP

5. Checking rectangle overlap in a plane

7. Fractal's Dabbler and GPF's

8. Moving rectangles to avoid overlapping

9. Merging unit sqaures into non-overlapping rectangles

10. area of rectangles overlap algorithm needed

11. Polygon from overlapping Rectangles?

1 post • Page:**1** of **1**