Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="x"></param>
 /// <param name="insertEvent"></param>
 /// <param name="sweepInt"></param>
 public SweepLineEvent(double x, SweepLineEvent insertEvent, SweepLineInterval sweepInt)
 {
     _xValue      = x;
     _insertEvent = insertEvent;
     _eventType   = insertEvent != null ? SweepLineEventType.Delete : SweepLineEventType.Insert;
     _sweepInt    = sweepInt;
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="x"></param>
 /// <param name="insertEvent"></param>
 /// <param name="sweepInt"></param>
 public SweepLineEvent(double x, SweepLineEvent insertEvent, SweepLineInterval sweepInt)
 {
     _xValue = x;
     _insertEvent = insertEvent;
     _eventType = insertEvent != null ? SweepLineEventType.Delete : SweepLineEventType.Insert;
     _sweepInt = sweepInt;
 }
Exemplo n.º 3
0
 public SweepLineEvent(double x, SweepLineEvent insertEvent, SweepLineInterval sweepInt)
 {
     this.xValue      = x;
     this.insertEvent = insertEvent;
     this.eventType   = SweepLineEventType.INSERT;
     if (insertEvent != null)
     {
         this.eventType = SweepLineEventType.DELETE;
     }
     this.sweepInt = sweepInt;
 }
Exemplo n.º 4
0
        public SweepLineEvent(object edgeSet, double x,
                              SweepLineEvent insertEvent, object obj)
        {
            this.edgeSet     = edgeSet;
            this.xValue      = x;
            this.insertEvent = insertEvent;
            this.eventType   = SweepLineEventType.INSERT;
            if (insertEvent != null)
            {
                this.eventType = SweepLineEventType.DELETE;
            }

            this.obj = obj;
        }