mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0030025: Modeling Algorithms - Normal projection splits curve with a gap
increase ExtraU , ExtraV.
This commit is contained in:
@@ -100,8 +100,8 @@ ProjLib_PrjResolve::ProjLib_PrjResolve(const Adaptor3d_Curve& C,const Adaptor3d_
|
|||||||
|
|
||||||
Standard_Real ExtraU , ExtraV;
|
Standard_Real ExtraU , ExtraV;
|
||||||
// if(!StrictInside) {
|
// if(!StrictInside) {
|
||||||
ExtraU = 2. * Tol2d.X();
|
ExtraU = 10. * Tol2d.X();
|
||||||
ExtraV = 2. * Tol2d.Y();
|
ExtraV = 10. * Tol2d.Y();
|
||||||
// }
|
// }
|
||||||
if (mySolution.X() > Inf.X() - Tol2d.X() && mySolution.X() < Inf.X()) mySolution.SetX(Inf.X());
|
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());
|
if (mySolution.X() > Sup.X() && mySolution.X() < Sup.X() + Tol2d.X()) mySolution.SetX(Sup.X());
|
||||||
|
Reference in New Issue
Block a user