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--; } } }
public LinePrimitive(VectorPosition from, VectorPosition to) { this.@from = @from; this.to = to; }