Recognizes line patterns in a given set of points.