]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelGeomAlgo/ModelGeomAlgo_Shape.cpp
Salome HOME
updated copyright message
[modules/shaper.git] / src / ModelGeomAlgo / ModelGeomAlgo_Shape.cpp
index 8406c9b8cb72ba4d26ce3f8f8e28302f4b2034c0..182e0f40d13af7a97cc335f6642d4cad2c3dd340 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -87,7 +87,7 @@ namespace ModelGeomAlgo_Shape
       bool isFound = aDistance < theTolerance;
       // issue #19019: special workaround for faces, because if the face contains B-spline contour,
       // the middle point is calculated with respect to its poles, but not a curve itself.
-      // Thus is some operations (like BOP) the curve may have different number of poles
+      // Thus, in some operations (like BOP) the curve may have different number of poles
       // from time to time, as a result, the face parametric boundaries are floating
       // as well as the middle point.
       // The workaround is to find a distance from the picking point to the face, if the distance
@@ -216,7 +216,7 @@ namespace ModelGeomAlgo_Shape
                            const GeomAPI_Shape::ShapeType& theShapeType,
                            std::list<SubshapeOfResult>& theSelected)
   {
-    static const double TOLERANCE = 1.e-6;
+    static const double TOLERANCE = 1.5e-6;
 
     theSelected.clear();