]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/FeaturesPlugin_Partition.h
Salome HOME
Copyright update 2022
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Partition.h
index aee69380b230c82534e5913aac6f9fc85e18e463..59cd7742106ac0ebe5d6c4e65e8dae56e42b997e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022  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
@@ -53,7 +53,7 @@ public:
     return MY_KIND;
   }
 
-  /// Creates a new part document if needed
+  /// Performs the algorithm and stores results it in the data structure.
   FEATURESPLUGIN_EXPORT virtual void execute();
 
   /// Request for initialization of data model of the feature: adding all attributes
@@ -73,7 +73,7 @@ private:
   /// Cut all of unused subs of compsolids by the full compsolid of the first selected object,
   /// and vice versa, cut all objects of Partition by not used subs of the first selected object.
   /// Store results of operation to the separated lists of shapes.
-  bool cutSubs(ObjectHierarchy& theHierarchy,
+  bool cutSubs(GeomAPI_ShapeHierarchy& theHierarchy,
                ListOfShape& theUsed,
                ListOfShape& theNotUsed,
                std::shared_ptr<GeomAlgoAPI_MakeShapeList>& theMakeShapeList,