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

0030025: Modeling Algorithms - Normal projection splits curve with a gap

increase ExtraU , ExtraV.
This commit is contained in:
knosulko
2021-09-27 15:51:56 +03:00
parent ba6df0a6d8
commit c55daa7416

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