예제 #1
0
 public ParcourChannel(ParcourChannel pc)
 {
     this.Start = pc.Start;
     this.End   = pc.End;
     foreach (Vector v in pc.LinearCombinations)
     {
         Vector vec = new Vector(v);
         LinearCombinations.Add(vec);
         if (pc.ImmutablePoints.Contains(v))
         {
             ImmutablePoints.Add(vec);
         }
     }
 }
예제 #2
0
 public ParcourChannel(ParcourChannel pc)
 {
     this.Start = pc.Start;
     this.End = pc.End;
     foreach (Vector v in pc.LinearCombinations)
     {
         Vector vec = new Vector(v);
         LinearCombinations.Add(vec);
         if (pc.ImmutablePoints.Contains(v))
         {
             ImmutablePoints.Add(vec);
         }
     }
 }
예제 #3
0
 private void AddCorridor(ParcourChannel c)
 {
     Channels.Add(new ParcourChannel(c));
 }
예제 #4
0
 private void AddCorridor(ParcourChannel c)
 {
     Channels.Add(new ParcourChannel(c));
 }