From: emv Date: Mon, 9 Dec 2013 07:01:49 +0000 (+0400) Subject: 0024434: The result of Boolean FUSE operation is not correct X-Git-Tag: V6_7_0~18 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=0929d0ef2089242fbddc43c210217dc51aa24da8;p=occt-copy.git 0024434: The result of Boolean FUSE operation is not correct Small correction in splitting SEAM edge on face. --- diff --git a/src/BOPTools/BOPTools_AlgoTools3D.cxx b/src/BOPTools/BOPTools_AlgoTools3D.cxx index 4b3365455f..1c151634ee 100644 --- a/src/BOPTools/BOPTools_AlgoTools3D.cxx +++ b/src/BOPTools/BOPTools_AlgoTools3D.cxx @@ -91,8 +91,8 @@ static const TopoDS_Face& aF) { Standard_Boolean bIsUPeriodic, bIsVPeriodic, bIsLeft = Standard_False; - Standard_Real aTol, a, b, anUPeriod, anVPeriod, aT, anU, dU=1.e-7, anU1, - anV, dV=1.e-7, anV1; + Standard_Real aTol, a, b, anUPeriod, anVPeriod, aT, anU, dU/*=1.e-7*/, anU1, + anV, dV/*=1.e-7*/, anV1; Standard_Real aScPr; gp_Pnt2d aP2D; gp_Vec2d aVec2D; @@ -159,6 +159,10 @@ static anU1=anU; anV1=anV; // + GeomAdaptor_Surface aGAS(aS); + dU = aGAS.UResolution(aTol); + dV = aGAS.VResolution(aTol); + // if (anUPeriod > 0.){ if (fabs (anU) < dU) { bIsLeft=Standard_True;