Example #1
0
        public void ArchimedesSpiralePointsMaker_ShouldReturnCenterAtFirst()
        {
            var value = ArchimedesSpiralePointsMaker
                        .GenerateNextPoint(new Point(0, 0), 2).First();

            value.Should().Be(new Point(0, 0));
        }
 public CircularCloudLayouter(Point center, double spiraleStep)
 {
     this.center = center;
     pointMaker  = ArchimedesSpiralePointsMaker
                   .GenerateNextPoint(center, spiraleStep)
                   .GetEnumerator();
     rectangles = new List <Rectangle>();
 }