public static double CalcDiagonalXY(Figure3D figure) { double distance = Geometry2DUtils.CalcDistance2D(0, 0, figure.Width, figure.Height); return distance; }
public static double CalcDiagonalYZ(Figure3D figure) { double distance = Geometry2DUtils.CalcDistance2D(0, 0, figure.Height, figure.Depth); return distance; }
public static double CalcVolume(Figure3D figure) { double volume = figure.Width * figure.Height * figure.Depth; return volume; }
public static double CalcDiagonalXYZ(Figure3D figure) { double distance = CalcDistance3D(0, 0, 0, figure.Width, figure.Height, figure.Depth); return distance; }