예제 #1
0
        public IEnumerable <VectorPosition> GetPositionSequence(int step)
        {
            var iteration = count;

            while (count < 0 || iteration > 0)
            {
                yield return(VectorPosition.FromMillimeters(random.Next(0, 100), random.Next(0, 100)));

                if (iteration > 0)
                {
                    iteration--;
                }
            }
        }
예제 #2
0
 public LinePrimitive(VectorPosition from, VectorPosition to)
 {
     this.@from = @from;
     this.to    = to;
 }