1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +03:00

# revert increase of a box of a max corner cell.

This commit is contained in:
emv
2020-05-27 10:10:00 +03:00
parent 14f327f292
commit a466b28fe1

View File

@@ -493,8 +493,8 @@ void Extrema_GenExtPS::BuildTree()
else else
{ {
// grid of a single point (myNbUSamples, myNbVSamples) // grid of a single point (myNbUSamples, myNbVSamples)
Standard_Real anAvSqExt = aSetBox.SquareExtent() / (aGridSet->Size() - 1); //Standard_Real anAvSqExt = aSetBox.SquareExtent() / (aGridSet->Size() - 1);
aGridBox.Enlarge (Sqrt (anAvSqExt)); //aGridBox.Enlarge (Sqrt (anAvSqExt));
} }
aGridSet->UpdateBox (iCell, Bnd_Tools::Bnd2BVH (aGridBox)); aGridSet->UpdateBox (iCell, Bnd_Tools::Bnd2BVH (aGridBox));