Wednesday, 16 November 2016

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


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



Edit: I'm using C# with ArcEngine10.



Answer



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


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...