ConvexPolygonQ
ConvexPolygonQ[poly] gives True if the polygon poly is convex, and False otherwise.
Examples
Check if a polygon is convex:
ConvexPolygonQ[Polygon[{{0, 0}, {1, 0}, {1, 1}, {0, 1}}]]
(* True *)Something isn't working? Report an issue.
Please visit the official Wolfram Language Reference for more details.