Salome HOME
Issue #2577: EDF 2018-2 Fusion of connected faces.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_UnifySameDomain.h
index a18366672634fe6c7f2fb0d3b135686e23ee518d..101484737935616c89fc1387436ccaa36fb779b6 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 lisy of shapes.
   void build(const ListOfShape& theShapes);
+
+  /// Builds resulting shape from the shape.
+  void build(const GeomShapePtr& theShape, const bool theIsToSimplifyShell);
 };
 
 #endif