Salome HOME
Revert "Add a new method for translation : translation by two points."
[modules/shaper.git] / src / GeomAPI / GeomAPI_Trsf.cpp
index 322c14b9061bcd06cb446382ce298918a0cd9efb..7983c91e606ba41c10c9ed5bc33e951c77de6b84 100644 (file)
@@ -40,13 +40,6 @@ void GeomAPI_Trsf::setTranslation(const double theDx, const double theDy, const
   MY_TRSF->SetTranslation(gp_Vec(theDx, theDy, theDz));
 }
 
-//=================================================================================================
-void GeomAPI_Trsf::setTranslation(const std::shared_ptr<GeomAPI_Pnt> theStartPoint,
-                                  const std::shared_ptr<GeomAPI_Pnt> theEndPoint)
-{
-  MY_TRSF->SetTranslation(theStartPoint->impl<gp_Pnt>(), theEndPoint->impl<gp_Pnt>());
-}
-
 //=================================================================================================
 void GeomAPI_Trsf::setRotation(const std::shared_ptr<GeomAPI_Ax1> theAxis,
                                const double theAngle)