예제 #1
0
 public virtual bool isValid(global::trajectory.Trajectory tr)
 {
     foreach (Trajectory other in trajectories)
     {
         if (trajectoryResolver.cross(tr, other))
         {
             return(false);
         }
     }
     return(true);
 }
예제 #2
0
 public virtual void remove(global::trajectory.Trajectory tr)
 {
     trajectories.Remove(tr);
     stats.currentNumObjects = trajectories.Count;
 }
예제 #3
0
 public virtual void add(global::trajectory.Trajectory tr)
 {
     trajectories.Add(tr);
     stats.currentNumObjects = trajectories.Count;
     stats.totalNumObjects++;
 }