Salome HOME
Updated copyright comment
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Partition.h
index 5676a660b4da9a446d99c930bb977e84a0faeb46..a3dac456274062983b98372c2f126e31199c81ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2022  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -32,13 +32,20 @@ class GeomAlgoAPI_Partition : public GeomAlgoAPI_MakeShape
 {
 public:
   /// Constructor.
+  /// \param[in] theObjects list of main objects.
+  /// \param[in] theTools list of tools.
+  /// \param[in] theFuzzy additional tolerance value.
+  ///            If the fuzzy value is below the minimum tolerance value (1.e-7), the
+  ///            algorithm will use the default internal fuzzy value from OCCT.
   GEOMALGOAPI_EXPORT GeomAlgoAPI_Partition(const ListOfShape& theObjects,
-                                           const ListOfShape& theTools);
+                                           const ListOfShape& theTools,
+                                           const double theFuzzy = 1.e-8);
 
 private:
   /// Builds resulting shape.
   void build(const ListOfShape& theObjects,
-             const ListOfShape& theTools);
+             const ListOfShape& theTools,
+             const double theFuzzy);
 };
 
 #endif