X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_Partition.h;h=72d336056d12a6892171dfefa9309e862b5b8bd2;hb=refs%2Fheads%2FV9_11_BR;hp=5676a660b4da9a446d99c930bb977e84a0faeb46;hpb=88ee9b2b81cf93a6324336b57e30cc8a3a487499;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Partition.h b/src/GeomAlgoAPI/GeomAlgoAPI_Partition.h index 5676a660b..72d336056 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Partition.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Partition.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2022 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