/// <summary> /// Forms the bounding rectangles for all the lines. /// </summary> protected void MakeLineRects() { LineRects.Clear(); for (var i = 0; i < Lines.Count; i++) { var pRect = new C2DRect(); Lines[i].GetBoundingRect(pRect); LineRects.Add(pRect); } }
/// <summary> /// Clears all. /// </summary> public void Clear() { BoundingRect.Clear(); Lines.Clear(); LineRects.Clear(); }