X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_Partition.h;h=d7807436ed719c127177ef988488bcb0c15c600e;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=6c330264e922155dcf37b73b12df9317b5efefb4;hpb=380f01e1fce1a012267d604a1190d04bf4659447;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_Partition.h b/src/FeaturesPlugin/FeaturesPlugin_Partition.h index 6c330264e..d7807436e 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Partition.h +++ b/src/FeaturesPlugin/FeaturesPlugin_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 @@ -46,6 +46,20 @@ public: return MY_BASE_OBJECTS_ID; } + /// Attribute name of use fuzzy parameter. + inline static const std::string& USE_FUZZY_ID() + { + static const std::string MY_USE_FUZZY_ID("use_fuzzy"); + return MY_USE_FUZZY_ID; + } + + /// Attribute name of fuzzy parameter. + inline static const std::string& FUZZY_PARAM_ID() + { + static const std::string MY_FUZZY_PARAM_ID("fuzzy_param"); + return MY_FUZZY_PARAM_ID; + } + /// \return the kind of a feature. FEATURESPLUGIN_EXPORT virtual const std::string& getKind() { @@ -76,6 +90,7 @@ private: bool cutSubs(GeomAPI_ShapeHierarchy& theHierarchy, ListOfShape& theUsed, ListOfShape& theNotUsed, + const double theFuzzy, std::shared_ptr& theMakeShapeList, std::string& theError); };