From c52059c3f88890a936705180edf2bd54e88e160b Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 15 Dec 2023 12:05:20 +0000 Subject: [PATCH] [bos #39942] EDF 25230 - New problem with XYZtoUV --- src/GEOMUtils/GEOMUtils.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GEOMUtils/GEOMUtils.cxx b/src/GEOMUtils/GEOMUtils.cxx index 045712102..7b4beee3a 100644 --- a/src/GEOMUtils/GEOMUtils.cxx +++ b/src/GEOMUtils/GEOMUtils.cxx @@ -1042,9 +1042,8 @@ gp_Pnt GEOMUtils::ProjectPointOnFace(const gp_Pnt& thePoint, BRepTools::UVBounds(aFace, U1, U2, V1, V2); // projector - Standard_Real tol = Max(theTol, 1.e-4); GeomAPI_ProjectPointOnSurf proj; - proj.Init(surface, U1, U2, V1, V2, tol); + proj.Init(surface, U1, U2, V1, V2); proj.Perform(thePoint); if (!proj.IsDone()) StdFail_NotDone::Raise("Projection aborted : the algorithm failed"); @@ -1055,6 +1054,7 @@ gp_Pnt GEOMUtils::ProjectPointOnFace(const gp_Pnt& thePoint, gp_Pnt2d aProjPnt (theU, theV); // classifier + Standard_Real tol = Max(theTol, 1.e-4); BRepClass_FaceClassifier aClsf (aFace, aProjPnt, tol); if (aClsf.State() != TopAbs_IN && aClsf.State() != TopAbs_ON) { bool isSol = false;