mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
Correction for redmine issue #150 - make wire builder more stable.
This commit is contained in:
@@ -127,8 +127,13 @@ Standard_Boolean ShapeAnalysis_BoxBndTreeSelector::
|
|||||||
myArrIndices(minInd) = theObj;
|
myArrIndices(minInd) = theObj;
|
||||||
if((min3d - myMin3d) > RealSmall())
|
if((min3d - myMin3d) > RealSmall())
|
||||||
myArrIndices(maxInd) = 0;
|
myArrIndices(maxInd) = 0;
|
||||||
|
|
||||||
myMin3d = min3d;
|
if ( (myArrIndices(Last) && minInd == Last) ||
|
||||||
|
(!myArrIndices(Last) && minInd == First))
|
||||||
|
{
|
||||||
|
myMin3d = min3d;
|
||||||
|
}
|
||||||
|
|
||||||
if (min3d > myTol)
|
if (min3d > myTol)
|
||||||
{
|
{
|
||||||
myStatus = ShapeExtend::EncodeStatus (ShapeExtend_FAIL2);
|
myStatus = ShapeExtend::EncodeStatus (ShapeExtend_FAIL2);
|
||||||
|
Reference in New Issue
Block a user