How can I automatically count the number of corners that has a polygon uisng VBA and ArcObjects? Thanks
Strictly speaking, the number of corners, is one less than the number of vertices in the polygon.
You should cast the geometry (IPolygon) to IPointCollection. The IPointCollection.Pointcount property gives you the number of vertices.
Just subtract one to get the number of corners.
|show 6 more comments|