In geometry, a set of points is convex if it contains every line segment between two points in the set.