From 0929d0ef2089242fbddc43c210217dc51aa24da8 Mon Sep 17 00:00:00 2001 From: emv Date: Mon, 9 Dec 2013 11:01:49 +0400 Subject: [PATCH] 0024434: The result of Boolean FUSE operation is not correct Small correction in splitting SEAM edge on face. --- src/BOPTools/BOPTools_AlgoTools3D.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; -- 2.20.1