Salome HOME
Make SHAPER STUDY fields exported in SMESH into MED file
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_BooleanCut.h
index 82eb5ad992e73d5549a13f8371ce9ca1c7c6adb7..80beb317581d26dd88d083bfc4182a8b053e6653 100644 (file)
@@ -44,7 +44,8 @@ public:
   FEATURESAPI_EXPORT
   FeaturesAPI_BooleanCut(const std::shared_ptr<ModelAPI_Feature>& theFeature,
                          const std::list<ModelHighAPI_Selection>& theMainObjects,
-                         const std::list<ModelHighAPI_Selection>& theToolObjects);
+                         const std::list<ModelHighAPI_Selection>& theToolObjects,
+                         const int theVersion = 0);
 
   /// Destructor.
   FEATURESAPI_EXPORT
@@ -77,6 +78,7 @@ typedef std::shared_ptr<FeaturesAPI_BooleanCut> BooleanCutPtr;
 FEATURESAPI_EXPORT
 BooleanCutPtr addCut(const std::shared_ptr<ModelAPI_Document>& thePart,
                      const std::list<ModelHighAPI_Selection>& theMainObjects,
-                     const std::list<ModelHighAPI_Selection>& theToolObjects);
+                     const std::list<ModelHighAPI_Selection>& theToolObjects,
+                     const bool keepSubResults = false);
 
 #endif // FeaturesAPI_BooleanCut_H_