Salome HOME
Issue #1367: Fill feature.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_ShapeTools.h
index 3fdee67c5d9380bee37f4938ab7f2e6a6099f326..9b08fe8a1fed3a9c1c4e8dbc6e1f90fc0ef9688a 100644 (file)
@@ -35,10 +35,10 @@ public:
   /// \param[in] theType type of combine.
   /// \param[out] theCombinedShapes resulting shapes.
   /// \param[out] theFreeShapes shapes that does not have common subshapes.
-  static void combineShapes(const std::shared_ptr<GeomAPI_Shape> theCompound,
-                            const GeomAPI_Shape::ShapeType theType,
-                            ListOfShape& theCombinedShapes,
-                            ListOfShape& theFreeShapes);
+  static std::shared_ptr<GeomAPI_Shape> combineShapes(const std::shared_ptr<GeomAPI_Shape> theCompound,
+                                                      const GeomAPI_Shape::ShapeType theType,
+                                                      ListOfShape& theCombinedShapes,
+                                                      ListOfShape& theFreeShapes);
 
   /// \brief Calculates bounding box for theShapes
   /// \return list of eight points.