Re: point yes/no within a specific area
- From: "Randy Poe" <poespam-trap@xxxxxxxxx>
- Date: 15 Jun 2006 01:07:04 -0700
martijn wrote:
Hello
How can one determine wether a point in R2 (x,y) lies within or out of a
pre-defined area described by n points x1,y1 x2,y2 ... xn,yn ??
Perhaps a commonly used algorithm exsists for this problem?
Yes. You are asking if a point falls in a polygon. This operation is
often needed in computer graphics, and so the best place to look is
in graphics sites, for instance the FAQ for comp.graphics.algorithms.
http://www.faqs.org/faqs/graphics/algorithms-faq/
Read "Subject 2.03: How do I find if a point lies within a polygon?"
- Randy
.
- References:
- point yes/no within a specific area
- From: martijn
- point yes/no within a specific area
- Prev by Date: Re: Weirdest graph?
- Next by Date: Re: point yes/no within a specific area
- Previous by thread: Re: point yes/no within a specific area
- Next by thread: Re: point yes/no within a specific area
- Index(es):
Relevant Pages
|