X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Trsf.cpp;fp=src%2FGeomAPI%2FGeomAPI_Trsf.cpp;h=6274599632846ba108524e290d1dbd777035545e;hb=2f12d4f220bde1f12a1c92f68e2cb27336fce8de;hp=21a972872bbf2ca3a10d58fc0e14b3f0e66c5eac;hpb=698a1c427ab2537e7a96b5206d6987087b78f54f;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Trsf.cpp b/src/GeomAPI/GeomAPI_Trsf.cpp index 21a972872..627459963 100644 --- a/src/GeomAPI/GeomAPI_Trsf.cpp +++ b/src/GeomAPI/GeomAPI_Trsf.cpp @@ -13,10 +13,13 @@ #include #include +#include #include #define MY_TRSF implPtr() +#include + //================================================================================================= GeomAPI_Trsf::GeomAPI_Trsf() : GeomAPI_Interface(new gp_Trsf()) @@ -73,3 +76,10 @@ void GeomAPI_Trsf::setSymmetry(const std::shared_ptr thePlane) { MY_TRSF->SetMirror(thePlane->impl()); } + +//================================================================================================= +void GeomAPI_Trsf::setScale(const std::shared_ptr theCenterPoint, + const double theScaleFactor) +{ + MY_TRSF->SetScale(theCenterPoint->impl(), theScaleFactor); +}