From: jfa Date: Fri, 18 Aug 2023 14:51:03 +0000 (+0100) Subject: [bos #36247] EDF 25230 - conversion xyz => uv KO X-Git-Tag: V9_12_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d2ccc47fec1c9f57e6afd3c14f6748b5c64880d8;p=modules%2Fgeom.git [bos #36247] EDF 25230 - conversion xyz => uv KO --- diff --git a/src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx b/src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx index 00d66594d..136f08527 100644 --- a/src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx @@ -47,7 +47,6 @@ // OCCT Includes #include #include -#include #include #include #include @@ -65,24 +64,29 @@ #include #include #include + #include +#include #include #include #include #include -#include #include #include + +#include #include + +#include #include #include #include #include -#include #include -#include +#include #include #include + #include // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC #include @@ -3031,7 +3035,10 @@ Handle(TColStd_HArray1OfReal) GEOMImpl_IMeasureOperations::XYZtoUV } // Face tolerance - Standard_Real aTol = BRep_Tool::Tolerance(F); + ShapeAnalysis_ShapeTolerance sat; + sat.InitTolerance(); + sat.AddTolerance(F); + Standard_Real aTol = sat.GlobalTolerance(1); Standard_Real squareTolerance = aTol * aTol; // Compute parameters