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