//-------------------------------------------------- private static void DrawPoints() { foreach (var vo in vectorObjects) { foreach (var line in vo) { var adapter = new LineToPointAdapter(line); adapter.ForEach(DrawPoint); } } }
private static void Prepare() { if (prepared) { return; } foreach (var vo in vectorObjects) { foreach (var line in vo) { var adapter = new LineToPointAdapter(line); adapter.ForEach(p => points.Add(p)); } } prepared = true; }