1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0024434: The result of Boolean FUSE operation is not correct

Small correction in splitting SEAM edge on face.
This commit is contained in:
emv 2013-12-09 11:01:49 +04:00 committed by abv
parent fe83e1ea69
commit 0929d0ef20

View File

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