public void Add(point p) { int idx = Points.BinarySearch(p, new pointComparer()); if (idx < 0) { idx = ~idx; } Points.Insert(idx, p); }
public void Add(point p) { int idx = Points.BinarySearch(p, new pointComparer()); if (idx < 0) { idx = ~idx; } Points.Insert(idx, p); }