Example #1
0
        public CircularCloudLayouter(Point center, AbstractSpiralGenerator generator)
        {
            Center = center;
            var result = generator.Begin(center);

            spiralGenerator = result.IsSuccess ? result.Value : throw new InvalidOperationException(result.Error);
        }
Example #2
0
 public CircularCloudLayouter(Point center, AbstractSpiralGenerator generator)
 {
     Center          = center;
     spiralGenerator = generator.Begin(center);
 }