]> OCCT Git - occt.git/commitdiff
0030025: Modeling Algorithms - Normal projection splits curve with a gap CR30025
authorknosulko <knosulko@opencascade.com>
Mon, 27 Sep 2021 12:51:56 +0000 (15:51 +0300)
committerknosulko <knosulko@opencascade.com>
Mon, 27 Sep 2021 13:04:17 +0000 (16:04 +0300)
increase ExtraU , ExtraV.

src/ProjLib/ProjLib_PrjResolve.cxx

index e605133f6bdd17907eb0b87dd267c329d4686a1e..c37c5d1652faa5651b9cfeb9ff2f3976f46880ba 100644 (file)
@@ -100,8 +100,8 @@ ProjLib_PrjResolve::ProjLib_PrjResolve(const Adaptor3d_Curve& C,const Adaptor3d_
 
   Standard_Real ExtraU , ExtraV;
 //  if(!StrictInside) {
-    ExtraU = 2. * Tol2d.X();
-    ExtraV = 2. * Tol2d.Y();
+    ExtraU = 10. * Tol2d.X();
+    ExtraV = 10. * Tol2d.Y();
 //  }
   if (mySolution.X() > Inf.X() - Tol2d.X() && mySolution.X() < Inf.X()) mySolution.SetX(Inf.X());
   if (mySolution.X() > Sup.X() && mySolution.X() < Sup.X() + Tol2d.X()) mySolution.SetX(Sup.X());