home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / graphics / 8220 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.9 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!ucbvax!sequent.cc.hull.ac.uk!S.Marshall
  2. From: S.Marshall@sequent.cc.hull.ac.uk (Simon Marshall)
  3. Newsgroups: comp.graphics
  4. Subject: Converting polygon with concave boundary to convex one anybody?
  5. Message-ID: <9207281143.AA27417@ucbvax.Berkeley.EDU>
  6. Date: 28 Jul 92 12:40:51 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Reply-To: sm@cs.hull.ac.uk, S.Marshall@hull.ac.uk
  9. Lines: 26
  10.  
  11. Hi all.  I mailed this question a while back, but shortly after the machine I
  12. read news on hiccuped for a couple of days, and now I find out that our mailer
  13. fails, with a loss of incoming mail, on a regular basis.  If you've responded
  14. once, please do again, sorry!
  15.  
  16. I have a group of planar polygons with concave boundaries.  I wish to replace
  17. each of these polygons with a number of triangular ones.  For a polygon with a
  18. convex boundary, it's quiet easy.  All I do is pick a single polygon vertex and
  19. form triangular facets, using this vertex, with successive pairs of vertices
  20. around the polygon boundary.  The single polygon vertex is therefore common to
  21. all triangular facets.
  22.  
  23. This, of course, will not work for polygons whose boundaries are concave, since
  24. a triangular facet may lie outside the boundary of the polygon.  So either I
  25. must use a different method of generating triangular facets, or firstly
  26. generate polygons with convex boundaries from the polygons with concave
  27. boundaries.
  28.  
  29. The $64M question is, how do I convert a concave polygon to a convex one?  I
  30. thought there was a solution to this in Graphics GEMS, but nope...
  31.  
  32. Many thanks in advance!  Simon.
  33. _______________________________________________________________________________
  34. Simon Marshall, Dept. of Computer Science, University of Hull, Hull HU6 7RX, UK
  35.   "Football isn't about life and death.  It's more important than that." Bill
  36. Email: S.Marshall@Hull.ac.uk    Phone: +44 482 465181    Fax: 466666   Shankley
  37.