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