Ejemplo n.º 1
0
        public static Triangle ConstructDefaultTriangle()
        {
            Point other1 = PointFactory.GeneratePoint(Figure.GenerateIntValue(), 0);
            Point other2 = PointFactory.GeneratePoint(Figure.GenerateIntValue(), Figure.GenerateIntValue());

            return(new Triangle(origin, other1, other2));
        }