Salome HOME
updated copyright message
[modules/shaper.git] / src / GeomAPI / GeomAPI_Trsf.h
index 80b492f09de163abb3b8fdf9a921981d51ab4090..1c92edc57bf9f620bead9c8954ffd04f1189b1e9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  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
@@ -93,7 +93,17 @@ class GeomAPI_Trsf : public GeomAPI_Interface
    *  \param[in] thePlane symmetry plane.
    */
   GEOMAPI_EXPORT void setSymmetry(const std::shared_ptr<GeomAPI_Ax2> thePlane);
+
+  /** \brief Sets the scaling transformation.
+   *  \param[in] theCenter scaling origin.
+   *  \param[in] theScale  scaling factor.
+   */
+  GEOMAPI_EXPORT void setScale(const std::shared_ptr<GeomAPI_Pnt>& theCenter,
+                               const double theScale);
 };
 
+//! Pointer on the object
+typedef std::shared_ptr<GeomAPI_Trsf> GeomTrsfPtr;
+
 #endif