home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics
- Path: sparky!uunet!stanford.edu!ames!nsisrv!betsy.gsfc.nasa.gov!hagedorn
- From: hagedorn@betsy.gsfc.nasa.gov (John Hagedorn)
- Subject: Polygon orientation & convexizing
- Message-ID: <1992Aug18.172656@betsy.gsfc.nasa.gov>
- Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
- Nntp-Posting-Host: betsy.gsfc.nasa.gov
- Reply-To: hagedorn@betsy.gsfc.nasa.gov (John Hagedorn)
- Organization: Goddard Space Flight Center
- Date: Tue, 18 Aug 1992 21:26:56 GMT
- Lines: 26
-
-
-
- I have two questions:
-
- - Is there a standard algorithm for checking whether
- a 2D polygon is clockwise?
-
- - Is there a simple way of subdividing a 2D polygon with
- holes into convex pieces? (Where the holes are
- 2D polygons that are wholly contained in the
- polygon that delineates the exterior boundary.)
-
- I believe that the first question was asked and answered a few
- months ago in this group, but I didn't need the information at
- that time, so I didn't keep it. I suspect that the second question
- is also a problem that many people face.
-
- Perhaps these are good candidates for inclusion in the FAQ(s).
-
- I'm trying to avoid duplicating work that others have done.
- Any references or hints would be greatly appreciated. Thanks.
-
-
- John Hagedorn NASA/GSFC hagedorn@betsy.gsfc.nasa.gov
-
-
-