예제 #1
0
 internal Event(Point eventPoint, EventType eventType,
                Line lineSegment, BentleyOttmann algorithm)
     : base(eventPoint.X, eventPoint.Y)
 {
     tolerance = algorithm.Tolerance;
     Type      = eventType;
     Segment   = lineSegment;
     Algorithm = algorithm;
 }
예제 #2
0
        internal Event(Point eventPoint, PointComparer pointComparer, EventType eventType,
                       Line lineSegment, BentleyOttmann algorithm)
            : base(eventPoint.X, eventPoint.Y)
        {
            tolerance          = algorithm.Tolerance;
            this.pointComparer = pointComparer;

            Type      = eventType;
            Segment   = lineSegment;
            Algorithm = algorithm;
        }