home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!ai-lab!fiber-one!sundar
- From: sundar@fiber-one.ai.mit.edu (Sundar Narasimhan)
- Newsgroups: comp.graphics
- Subject: Re: Polygon (or point) within an arbitrary polygon
- Message-ID: <1ep7ulINNqu2@life.ai.mit.edu>
- Date: 23 Nov 92 00:17:25 GMT
- References: <HINKER.92Nov19081251@cocker.acl.lanl.gov> <1egv39INNj29@life.ai.mit.edu> <1992Nov20.020732.2530@sophia.smith.edu>
- Sender: sundar@fiber-one (Sundar Narasimhan)
- Reply-To: sundar@ai.mit.edu
- Organization: MIT Artificial Intelligence Laboratory
- Lines: 24
- NNTP-Posting-Host: fiber-one.ai.mit.edu
-
- In article <1992Nov20.020732.2530@sophia.smith.edu>, orourke@sophia.smith.edu (Joseph O'Rourke) writes:
- |> In article <1egv39INNj29@life.ai.mit.edu> sundar@ai.mit.edu writes:
- |> >This problem [polygon in polygon] ([...]) can be solved
- |> >by computing the convolution of the two polygons -- for which linear
- |> >time algorithms exist in the plane.
- |>
- |> The Minkowski sum of two polygons of n and m vertices can have
- |> Omega( n^2 m^2 ) vertices. Thus if n=m, the size of the convolution
- |> can be proportional to n^4.
- |> Perhaps you are making some assumptions about the two polygons?
- Yes, I was. For convex polygons A and B there is an O(n+m) algorithm
- (see Guibas et al. "Kinetic Framework for Computational Geometry"
- 24'th FOCS 83).
-
- Now, for the more interesting case when A, B can be concave. Is there
- a bound on the number of bounding outer edges/vertices of the Minkowski sum
- (since this is all one would need to compute)? For special cases, i.e. when
- the number of concavities in A + B is odd (say k), the above algorithm can be
- modified to work in O(n+m) time. A friend and I tried our hand at the
- general case but couldn't get any better than O(n*m) -- and ended up
- concluding that our attempts at mapping R^2xSO(1) to R^2xSO(k) had the
- right sort of flavor, but was missing something fundamental that some
- mathematician familiar with this could probably whiz thru in a second.
- Any further thoughts?
-