PrisonLove
Hard Realist
- Reaction score
- 78
Hey so I'm trying to find the interior angle between 2 edges of a polygon to determine if the polygon is concave or not. I have all of the edges stored in an ArrayList and just want to loop through it, calculate the angle for each pair of edges, and if one is above 180? then I know the polygon is concave. The problem is I can't figure out how to calculate this interior angle. The two edges are next to one another so there's 3 points to work with. Any help?
Thanks!
Thanks!