Пример #1
0
        public static double CalcDiagonalYZ(Figure3D figure)
        {
            double distance = Geometry2DUtils.CalcDistance2D(0, 0, figure.Height, figure.Depth);

            return(distance);
        }
Пример #2
0
        public static double CalcDiagonalXY(Figure3D figure)
        {
            double distance = Geometry2DUtils.CalcDistance2D(0, 0, figure.Width, figure.Height);

            return(distance);
        }