S is a set of points in the plane