I wish to identify any polygon within a featureclass that have an angle less than 10 Deg similar to the data reviewer's polyline data check tool called "Cutbacks check" Regards, Nigel.
Solved! Go to Solution.
There's probably a few ways to do this.
IConstructAngle can give you the angle between three points. These can be the from and to points of each segment in your polygon. So id start by casting the polygon to a segmentcollection, then while carefully iterating each segment, get the three points from the appropriate from and to points, then feed them into the method to get the angle.
You can probably also do this in python with a bit more math.
There's probably a few ways to do this.
IConstructAngle can give you the angle between three points. These can be the from and to points of each segment in your polygon. So id start by casting the polygon to a segmentcollection, then while carefully iterating each segment, get the three points from the appropriate from and to points, then feed them into the method to get the angle.
You can probably also do this in python with a bit more math.
Thanks Sean.
This really did the Job for me.
Regards,
Nigel.