private IReadOnlyList <PointF> GetNewPoints(
            int stepCount)
        {
            var condition = GetNewCondition(stepCount);

            return(GeometricExtensions.MovePointsToZero(
                       GetPoints(condition)));
        }
 public Fractal2DByLSystem(
     [NotNull] string startSystemСondition,
     double rotateAngle,
     [NotNull, ItemNotNull] IReadOnlyList <GenerativeRules> generativeRules)
 {
     _startSystemСondition = startSystemСondition ?? throw new Exception($"NotNull parameter {startSystemСondition} exception");
     _generativeRules      = generativeRules ?? throw new Exception($"NotNull parameter {generativeRules} exception");
     _rotateAngle          = GeometricExtensions.ToRadians(rotateAngle);
     _state = null;
 }