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

Compare commits

...

1 Commits

Author SHA1 Message Date
aml
aa41a6f247 0027965: Error in logic of "ConnectEdgesToWires" method
Minimal distance computation has been corrected to be in accordance with current edge.
2016-10-14 09:44:56 +03:00

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);