Convex polygon

A polygon is a convex polygon if and only if, for any two points A and B inside the polygon, the line segment AB is inside P.