]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/CollectionAPI/CollectionAPI_Group.h
Salome HOME
Copyright update 2020
[modules/shaper.git] / src / CollectionAPI / CollectionAPI_Group.h
index 284737e1c087a2bcff1da8a2c80e2552e3010470..a9f10acbf2b1b567e0cb823b6296b409af1424b0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -72,4 +72,12 @@ GroupPtr addGroup(const std::shared_ptr<ModelAPI_Document>& thePart,
                   const std::list<ModelHighAPI_Selection>& theGroupList,
                   const bool theShareSameTopology = false);
 
+/// \ingroup CPPHighAPI
+/// \brief Create Group with the additional selection type for case the whole result selected.
+COLLECTIONAPI_EXPORT
+GroupPtr addGroup(const std::shared_ptr<ModelAPI_Document>& thePart,
+  const std::string& theSelectionType,
+  const std::list<ModelHighAPI_Selection>& theGroupList,
+  const bool theShareSameTopology = false);
+
 #endif // CollectionAPI_Group_H_