public static double CalculateDiagonal3D(I3DFigure figure) { double distance = CalculateDistance3D(0, 0, 0, figure.Width, figure.Height, figure.Depth); return(distance); }
public static double CalculateVolume(I3DFigure figure) { double volume = figure.Width * figure.Height * figure.Depth; return(volume); }