Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_UnifySameDomain.h
index a18366672634fe6c7f2fb0d3b135686e23ee518d..1b70f43a2f41e8840f1e3b7c408aa2adb1470762 100644 (file)
@@ -35,6 +35,9 @@ public:
   /// Constructor.
   GEOMALGOAPI_EXPORT GeomAlgoAPI_UnifySameDomain(const ListOfShape& theShapes);
 
+  /// Constructor.
+  GEOMALGOAPI_EXPORT GeomAlgoAPI_UnifySameDomain(const GeomShapePtr& theShape);
+
   /// \return the list of shapes modified from the shape \a theShape.
   /// \param[in] theShape base shape.
   /// \param[out] theHistory modified shapes.
@@ -42,8 +45,11 @@ public:
                                            ListOfShape& theHistory);
 
 private:
-  /// Builds resulting shape.
+  /// Builds resulting shape from list of shapes.
   void build(const ListOfShape& theShapes);
+
+  /// Builds resulting shape from the shape.
+  void build(const GeomShapePtr& theShape, const bool theIsToSimplifyShell);
 };
 
 #endif