Exemplo n.º 1
0
        private Point randTransformation(Point point, int k = -1)
        {
            Point newPoint = point;

            if (k == -1)
            {
                newPoint = point.Multiply(pickTransformation());
            }
            else
            {
                if (k < Transformations.Count)
                {
                    newPoint = point.Multiply(Transformations.ElementAt(k));
                }
            }

            return(newPoint);
        }