public void eventEnd() {
        Point check;
        LineSegment p1=null, p2=null;
        LineSegment tmp;
        
        int i=0;
        
        if(currentEvent.a.start.y == currentEvent.a.end.y){
            return;
        }
        for ( i = 0; i < SweepStatus.size(); i++) {
            tmp = SweepStatus.get(i);
            if(tmp == currentEvent.a){
                SweepStatus.remove(i);
                break;
            }
        }
        if(i< SweepStatus.size()){
            p1= SweepStatus.get(i);
        }
        if(i>0){
            p2 = SweepStatus.get(i-1);
        }
        
        if (p1 != null && p2 != null) {
            check = p1.getIntersection(p2);
            if (check != null && check.y < lambda) {
                EventQueue.add(check);
            }
        }
   }