]> OCCT Git - occt-copy.git/commitdiff
# revert increase of a box of a max corner cell.
authoremv <emv@opencascade.com>
Wed, 27 May 2020 07:10:00 +0000 (10:10 +0300)
committeremv <emv@opencascade.com>
Wed, 26 Aug 2020 13:45:14 +0000 (16:45 +0300)
src/Extrema/Extrema_GenExtPS.cxx

index e5d4ca33469c3311b47d8f64ccdcabded0346bd7..e038d17b7a82454befa6e5c7ed1483647c07556f 100644 (file)
@@ -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));