示例#1
0
        //--------------------------------------------------

        private static void DrawPoints()
        {
            foreach (var vo in vectorObjects)
            {
                foreach (var line in vo)
                {
                    var adapter = new LineToPointAdapter(line);
                    adapter.ForEach(DrawPoint);
                }
            }
        }
示例#2
0
 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;
 }