home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!pilchuck!fnx!sgihbtn!wangl
- From: wangl@sierra.com (Larry Wang)
- Subject: Find all polygon?
- Message-ID: <wangl.711931119@sierra.com>
- Sender: news@sierra.com
- Nntp-Posting-Host: grumpy
- Organization: Sierra Geophysics Inc., Kirkland, Wa
- Date: Thu, 23 Jul 1992 22:38:39 GMT
- Lines: 64
-
- A method to find all polygons which do not contain any other points within
- a polygon for graphs like the following one:
-
-
- v.....................................................v
-
-
-
- v.............v.....................v.................v
- . .
- . .
- . .
- . .
- . .
- v..............v..................v
- . . .
- . . .
- . . .
- . v.......................v.
- . . .
- v . .
- . .
- . .
- . .
- v .
- .
- v
-
- v = vertex
-
- The finished graph should like this:
-
-
- v.......................................................v
- x x
- x 1 x
- x x
- v..............v.....................v................v
- x . . x
- x . . x
- x 2 . 3 . 4 x
- x . . x
- x . . x
- x v..............v..................v x
- x . . . x
- x . . 6 . x
- x . . . x
- x . v.......................v x
- x . 7 . . x
- v . . x
- x . . x
- x . 8 . x
- x . . x
- x . . x
- x . .x
- v x x x x x xx x x x x xx x xx x x x xv
-
-
- 1, 2, ..., 8 are the polygons found.
- --
- Gary Beckman
- Unix Systems Manager
- Sierra Geophysics
- 11255 Kirkland Way
-