6

Does anyone know a function to determine if a Point exists within a polygon?

Edit: I'm using C# with ArcEngine10.

7

Take a look at the IRelationalOperator2 you can cast your polygon to that Interface and use the contains method.

3

If you don't want to use Arc, take a look at Graphics Gems IV http://tog.acm.org/resources/GraphicsGems/

there are 2 articles with code for the point in polygon problem

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.