Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2010 [RESOLVED] Polygon Hit Test

$
0
0
Hi Everyone,

I'll apologize in advance if this has been asked before. I'm still searching the forum but haven't found anything at this time.

What I'm trying to do can be explained pretty simply:
  1. I have a concave polygon defined by a series of points (x,y)
  2. I'd like to know if a given point (x,y) falls within the concave polygon defined in point 1.


I've searched for different algorithms and haven't had much luck in finding one that works 100% of the time. Further, the coding has come without much explanation & the is very difficult to decipher.

Any help much appreciated. :wave:

Viewing all articles
Browse latest Browse all 27554

Trending Articles