Characterizations of Star-Shaped, L-Convex, and Convex Polygons