Sweeping Method

  • Procedures
    • Maintain a sweep line status.
    • Sweep the line across the plane.
    • Upon encounter of events, do something on the sweep line state.