I have some polygons and I want to calculate the inner angle of each polygon. Now, I have the geometry of every line of polygons in the same attribute table as shown in the following image.
I want to calculate the inner angle using the following equation:
inner_angle= the bearing angle of the previous line - the bearing angle of the following line +180 (in degrees).
How can I write this in the code block in the model builder and do this for each polygon respectively?
