Пример #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;
        }