Beispiel #1
0
        public String toString()
        {
            StringBuilder localStringBuilder           = new StringBuilder();
            IEnumerator <SumoPosition2D> localIterator = this.coords.GetEnumerator();

            while (localIterator.MoveNext())
            {
                SumoPosition2D localSumoPosition2D = (SumoPosition2D)localIterator.Current;
                localStringBuilder.Append(localSumoPosition2D.x + ",");
                localStringBuilder.Append(localSumoPosition2D.y + " ");
            }
            return(localStringBuilder.ToString().Trim());
        }
Beispiel #2
0
 public void add(SumoPosition2D position2D)
 {
     this.coords.AddLast(position2D);
 }