Defines the classes needed to implement the LineSweep algorithm.