Salome HOME
updated copyright message
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Transform.h
index cb5382d48a54e4157f5bd147e68d19313e58fab1..d34c99b2320b34d8822930053ca5b283c67c70f0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -38,16 +38,13 @@ public:
   GEOMALGOAPI_EXPORT GeomAlgoAPI_Transform(std::shared_ptr<GeomAPI_Shape> theSourceShape,
                                            std::shared_ptr<GeomAPI_Trsf>  theTrsf);
 
-  /// \return the transformation.
-  GEOMALGOAPI_EXPORT std::shared_ptr<GeomAPI_Trsf> transformation() const;
+protected:
+  /// \brief Default constructor (to be used in the derived classes)
+  GeomAlgoAPI_Transform() {}
 
-private:
   /// Builds resulting shape.
   void build(std::shared_ptr<GeomAPI_Shape> theSourceShape,
              std::shared_ptr<GeomAPI_Trsf>  theTrsf);
-
-private:
-  std::shared_ptr<GeomAPI_Trsf> myTrsf;
 };
 
 #endif