X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_Partition.h;h=72d336056d12a6892171dfefa9309e862b5b8bd2;hb=refs%2Fheads%2FV9_11_BR;hp=d6edd32de8fb1c33a595c5929c4f1ed3c96d1f21;hpb=380f01e1fce1a012267d604a1190d04bf4659447;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Partition.h b/src/GeomAlgoAPI/GeomAlgoAPI_Partition.h index d6edd32de..72d336056 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Partition.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Partition.h @@ -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 @@ -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