X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Trsf.h;h=fa765c2b1a9d575986a315cbd0ee53028ba01d27;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=84539eca682595d640b9a0f9f40370df5e3ac2bb;hpb=879a4d6ef89c8b18a6bb66ba3e87fca445884b37;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Trsf.h b/src/GeomAPI/GeomAPI_Trsf.h index 84539eca6..fa765c2b1 100644 --- a/src/GeomAPI/GeomAPI_Trsf.h +++ b/src/GeomAPI/GeomAPI_Trsf.h @@ -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 @@ -93,6 +93,13 @@ class GeomAPI_Trsf : public GeomAPI_Interface * \param[in] thePlane symmetry plane. */ GEOMAPI_EXPORT void setSymmetry(const std::shared_ptr thePlane); + + /** \brief Sets the scaling transformation. + * \param[in] theCenter scaling origin. + * \param[in] theScale scaling factor. + */ + GEOMAPI_EXPORT void setScale(const std::shared_ptr& theCenter, + const double theScale); }; //! Pointer on the object