예제 #1
0
        public override string[] GetAnotherFigure()
        {
            double area  = GetArea();
            double perim = GetPerimeter();

            string[] otherFigureParams = new string[4];
            otherFigureParams[0] = ServiceClass.CircleRadiusByArea(area);
            otherFigureParams[1] = ServiceClass.CircleRadiusByPerimeter(perim);
            otherFigureParams[2] = ServiceClass.IsoscelesWith90TriangleSides(area);
            otherFigureParams[3] = ServiceClass.EquilateralTriangleSides(area);
            return(otherFigureParams);
        }