Salome HOME
updated copyright message
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_MakeShapeCustom.h
index 77bfac0e231e924f22a962e86c53b4da807bb304..957c16f77b9e158dcc2f8dbb7794f555ca62fe82 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // You should have received a copy of the GNU Lesser General Public
 // License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #ifndef GeomAlgoAPI_MakeShapeCustom_H_
@@ -37,29 +36,29 @@ public:
   GEOMALGOAPI_EXPORT GeomAlgoAPI_MakeShapeCustom();
 
   /// Sets result shape.
-  GEOMALGOAPI_EXPORT void setResult(const std::shared_ptr<GeomAPI_Shape> theShape);
+  GEOMALGOAPI_EXPORT void setResult(const GeomShapePtr theShape);
 
   /// Adds modified shape.
-  GEOMALGOAPI_EXPORT bool addModified(const std::shared_ptr<GeomAPI_Shape> theBase,
-                                      const std::shared_ptr<GeomAPI_Shape> theResult);
+  GEOMALGOAPI_EXPORT bool addModified(const GeomShapePtr theOldShape,
+                                      const GeomShapePtr theNewShape);
 
   /// Adds generated shape.
-  GEOMALGOAPI_EXPORT bool addGenerated(const std::shared_ptr<GeomAPI_Shape> theBase,
-                                       const std::shared_ptr<GeomAPI_Shape> theResult);
+  GEOMALGOAPI_EXPORT bool addGenerated(const GeomShapePtr theOldShape,
+                                       const GeomShapePtr theNewShape);
 
   /// Adds deleted shape.
-  GEOMALGOAPI_EXPORT bool addDeleted(const std::shared_ptr<GeomAPI_Shape> theShape);
+  GEOMALGOAPI_EXPORT bool addDeleted(const GeomShapePtr theOldShape);
 
   /// \return the list of shapes generated from the shape theShape
-  GEOMALGOAPI_EXPORT void generated(const std::shared_ptr<GeomAPI_Shape> theShape,
-                                            ListOfShape& theHistory);
+  GEOMALGOAPI_EXPORT void generated(const GeomShapePtr theOldShape,
+                                    ListOfShape& theNewShapes);
 
   /// \return the list of shapes modified from the shape theShape
-  GEOMALGOAPI_EXPORT void modified(const std::shared_ptr<GeomAPI_Shape> theShape,
-                                           ListOfShape& theHistory);
+  GEOMALGOAPI_EXPORT void modified(const GeomShapePtr theShape,
+                                   ListOfShape& theNewShapes);
 
   /// \return whether the shape is deleted
-  GEOMALGOAPI_EXPORT bool isDeleted(const std::shared_ptr<GeomAPI_Shape> theShape);
+  GEOMALGOAPI_EXPORT bool isDeleted(const GeomShapePtr theOldShape);
 
 private:
   GeomAPI_DataMapOfShapeMapOfShapes myGenerated;