home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sunic!diku!dkuug!dde!cpr
- From: cpr@dde.dk (Claus Priisholm)
- Newsgroups: comp.graphics
- Subject: WANTED: algorithms for clipping rectangles
- Message-ID: <1992Jul16.101752.16573@dde.dk>
- Date: 16 Jul 92 10:17:52 GMT
- Organization: Dansk Data Elektronik A/S
- Lines: 21
-
- I am looking for references to different algorithms for clipping
- rectangles and to determine intersections between rectangles.
-
- I have been reading in "Fundamentals of Interactive Computer Graphics"
- by J. D. Foley and A. Van Dam, where they discuss two algorithms
- (Sutherland-Hodgman and Weiler-Atherton) for clipping polygons and
- polyhedrons. I believe it would be overkill to use these algorithms
- for my purpose (which resembles the problems involved in handling
- overlapping windows in a window-system). I can think of a few ways to
- do, but as speed is a prime factor I would like to study the subject a
- little further.
-
- Thanks in advance...
-
- C. Priisholm
- +---------------------------+---------------------+---------------------------+
- | Claus Priisholm | | Dansk Data Elektronik A/S |
- | Software Engineer | Runtime is | Vindingvej 2C |
- | Euromax Department | Funtime!!! | DK-7200 Vejle |
- | email: cpr@dde.dk | | (+45) 75 72 26 00 |
- +---------------------------+---------------------+---------------------------+
-