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

0027965: Error in logic of "ConnectEdgesToWires" method

Minimal distance computation has been corrected to be in accordance with current edge.
This commit is contained in:
aml
2016-10-14 09:44:56 +03:00
parent 4e283d3379
commit aa41a6f247

View File

@@ -127,8 +127,13 @@ Standard_Boolean ShapeAnalysis_BoxBndTreeSelector::
myArrIndices(minInd) = theObj;
if((min3d - myMin3d) > RealSmall())
myArrIndices(maxInd) = 0;
myMin3d = min3d;
if ( (myArrIndices(Last) && minInd == Last) ||
(!myArrIndices(Last) && minInd == First))
{
myMin3d = min3d;
}
if (min3d > myTol)
{
myStatus = ShapeExtend::EncodeStatus (ShapeExtend_FAIL2);