Beispiel #1
0
 private static void DrawPoints()
 {
     foreach (var vo in VectorObjects)
     {
         foreach (var line in vo)
         {
             var adapter = new LineToPointAdapter(line);
             foreach (var point in adapter)
             {
                 Points.Add(point);
             }
         }
     }
 }
Beispiel #2
0
 private static void Prepare()
 {
     if (_prepared)
     {
         return;
     }
     foreach (var vo in VectorObjects)
     {
         foreach (var line in vo)
         {
             var adapter = new LineToPointAdapter(line);
             foreach (var point in adapter)
             {
                 Points.Add(point);
             }
         }
     }
     _prepared = true;
 }