Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mit-eddie!bloom-beacon!eru!hagbard!sunic!mcsun!cernvax!chx400!ugun2b!cui!afzal From: afzal@cui.unige.ch (Afzal Ballim) Newsgroups: comp.graphics Subject: Overlap of Rectangles Message-ID: <3860@cui.unige.ch> Date: 26 Nov 90 19:08:32 GMT Reply-To: afzal@divsun.unige.ch (Afzal Ballim) Organization: University of Geneva, Switzerland Lines: 6 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