From: emv Date: Wed, 27 May 2020 07:10:00 +0000 (+0300) Subject: # revert increase of a box of a max corner cell. X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=a466b28fe1e03cb3f9b6e403c51c7ab23214b1be;p=occt-copy.git # revert increase of a box of a max corner cell. --- diff --git a/src/Extrema/Extrema_GenExtPS.cxx b/src/Extrema/Extrema_GenExtPS.cxx index e5d4ca3346..e038d17b7a 100644 --- a/src/Extrema/Extrema_GenExtPS.cxx +++ b/src/Extrema/Extrema_GenExtPS.cxx @@ -493,8 +493,8 @@ void Extrema_GenExtPS::BuildTree() else { // grid of a single point (myNbUSamples, myNbVSamples) - Standard_Real anAvSqExt = aSetBox.SquareExtent() / (aGridSet->Size() - 1); - aGridBox.Enlarge (Sqrt (anAvSqExt)); + //Standard_Real anAvSqExt = aSetBox.SquareExtent() / (aGridSet->Size() - 1); + //aGridBox.Enlarge (Sqrt (anAvSqExt)); } aGridSet->UpdateBox (iCell, Bnd_Tools::Bnd2BVH (aGridBox));