]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/FeaturesPlugin_CompositeBoolean.h
Salome HOME
[bos #24758] EDF 24017 - Problems with ExtrusionCut. Corrected also ExtrusionFuse...
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_CompositeBoolean.h
index bbcd26eb7cfd18c8eb163e5b1da495b7f841dd6d..3b91a61fad3f757fbac7f0cbc50054757c151462 100644 (file)
@@ -95,7 +95,8 @@ protected:
                           const GeomShapePtr theResultShapesCompound);
 
 private:
-  /// Makes cut operation recursively. Called from makeBoolean().
+  /// Makes cut operation recursively.
+  /// Called from makeBoolean().
   /// \param[in] theCompound the shape to be cut.
   /// \param[in] theTools list of tools.
   /// \param[out] theMakeShapeList list of according algos.
@@ -106,6 +107,16 @@ private:
                              std::shared_ptr<GeomAlgoAPI_MakeShapeList>& theMakeShapeList,
                              GeomShapePtr& theResult);
 
+  /// Add subshapes of \a theCompound to \a theSubShapesToAdd list,
+  /// except ones from \a theSubShapesToAvoid.
+  /// Called from makeBoolean().
+  /// \param[in] theCompound the shape to collect sub-shapes of.
+  /// \param[in] theSubShapesToAvoid list of shapes that should not be added to the result.
+  /// \param[out] theSubShapesToAdd list of found sub-shapes.
+  void addSubShapes (const GeomShapePtr theCompound,
+                     const ListOfShape& theSubShapesToAvoid,
+                     ListOfShape& theSubShapesToAdd);
+
 protected:
   ModelAPI_Feature* myFeature;
   OperationType myOperationType;