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:
@@ -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));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user