home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!ut-emx!tivoli!tivoli.com
- From: twb@tivoli.com (Tom Bereiter)
- Newsgroups: comp.graphics
- Subject: Polygon-polygon intersection
- Message-ID: <7418@tivoli.UUCP>
- Date: 4 Jan 93 19:22:03 GMT
- Sender: news@tivoli.UUCP
- Reply-To: twb@tivoli.com (Tom Bereiter)
- Organization: TIVOLI Systems Inc., Austin, TX
- Lines: 12
-
- I'm looking for an efficient test for whether two 2D polygons intersect.
- The brute force approach seems to be: do a point-in-polygon test for each
- point of polyA in polyB, but if that says false you still have to check for
- line intersections. This feels like the sort of problem, like area of
- a polygon, which has a non-obvious trivial answer.
-
- Thanks
-
- ---
- Tom Bereiter TIVOLI Systems, Inc.
- twb@tivoli.com 6034 West Courtyard, Suite 210
- (512) 794-9070 [794-0623 fax] Austin, TX 78730
-