/// <summary> /// If the hLine lies below any line in this bottom edge, /// then this bottom edge is adjusted accordingly. /// </summary> public override void Add(HLine hLine) { if (Lines.Count == 0) { Lines.Add(hLine); } else { TopEdge flippedEdge = FlipVertically(); HLine flippedLine = new HLine(hLine.Left, hLine.Right, -hLine.Y); flippedEdge.AddLineToUpperEdge(flippedLine); Lines = flippedEdge.FlippedLines; } }