Salome HOME
Task 3.2. To keep compounds’ sub-shapes for all operations (issue #3139)
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_Intersection.h
index 4135816c8ca2dcce44447381da615d4f734b7f6d..400c520dfaba377ada75c377eb61dfc89a7585ee 100644 (file)
@@ -68,7 +68,8 @@ typedef std::shared_ptr<FeaturesAPI_Intersection> IntersectionPtr;
 /// \ingroup CPPHighAPI
 /// \brief Create Intersection feature.
 FEATURESAPI_EXPORT
-IntersectionPtr addIntersection(const std::shared_ptr<ModelAPI_Document>& thePart,
-                                const std::list<ModelHighAPI_Selection>& theObjects);
+IntersectionPtr addIntersection(const std::shared_ptr<ModelAPI_Document>& part,
+                                const std::list<ModelHighAPI_Selection>& objects,
+                                const bool keepSubResults = false);
 
 #endif // FeaturesAPI_Intersection_H_