コード例 #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
ファイル: BentleyOttmann.cs プロジェクト: 04maoj/Pens-Up
        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;
        }