In geometry, a polygon that is simple (not self-intersecting) can be either convex or concave (synonyms for the latter being non-convex and reentrant). In a convex polygon, a line segment between two points on the boundary never goes outside the polygon.