home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.programming
- Path: sparky!uunet!usc!sdd.hp.com!news.cs.indiana.edu!umn.edu!thompson
- From: thompson@atlas.socsci.umn.edu (T. Scott Thompson)
- Subject: Re: How to decide if a point is inside a polygon?
- Message-ID: <thompson.715056569@malthus.econ.umn.edu>
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Nntp-Posting-Host: malthus.econ.umn.edu
- Reply-To: thompson@atlas.socsci.umn.edu
- Organization: Economics Department, University of Minnesota
- References: <7121@bigbird.hri.com.hri.com> <schnitzi.714934670@eola.cs.ucf.edu> <1992Aug27.153902@is.morgan.com> <schnitzi.715017774@eola.cs.ucf.edu> <1992Aug28.134203@is.morgan.com> <schnitzi.715032142@eola.cs.ucf.edu>
- Date: Sat, 29 Aug 1992 02:49:29 GMT
- Lines: 19
-
- schnitzi@cs.ucf.edu (Mark Schnitzius) writes:
-
- >You are right; sorry, I misunderstod your earlier point. So how can we
- >get this to work for all cases? Just find a direction to extend the
- >infinite line that doesn't intersect any vertices?
-
- Not a good idea. Choosing a new direction means starting over and
- wasting your previous calculations. There are ways to fix up the
- "vertex" and "colinear edge" problems without having to choose a new
- direction.
-
- For details, look at the thread on this same topic on the newsgroup
- sci.math that gives specific references to some methods that deal with
- the various things that can go wrong. (The original question was also
- posted to that group.)
- --
- T. Scott Thompson email: thompson@atlas.socsci.umn.edu
- Department of Economics phone: (612) 625-0119
- University of Minnesota fax: (612) 624-0209
-