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