Tag Archives: concave

Determine whether a polygon is convex in C#

To see if a polygon is convex, calculate the angles at each of the polygon’s corners. If all of the angles have the same sign (either positive or negative depending on the orientation), then the polygon is convex. Rather than … Continue reading

Posted in algorithms, geometry, graphics, mathematics | Tagged , , , , , , , , , , , | 10 Comments