Convex set

A convex set is a set with the following property: if any two points are on the set then the segment that joins them is also contained in that set.

This is a convex set as it contains all segments joining two of its points.

This is not a convex set: it has two points (A and B) such that the segment that joins them is not contained in the set.