Salome HOME
Issue #2059 point in sketch is created not on selected line of external sketchPlane...
[modules/shaper.git] / src / GeomAPI / GeomAPI_Trsf.h
index a49ce81c6c92c7656d1dc72e5fdc5ea8b180b2dd..822afde1d6a25402570c61bd4f5050d8c16cba52 100644 (file)
@@ -59,6 +59,15 @@ class GeomAPI_Trsf : public GeomAPI_Interface
   GEOMAPI_EXPORT void setRotation(const std::shared_ptr<GeomAPI_Ax1> theAxis,
                                   const double theAngle);
 
+  /** \brief Sets a rotation transformation using three points.
+   *  \param[in] theCenterPoint  rotation center.
+   *  \param[in] theStartPoint   start rotation point.
+   *  \param[in] theEndPoint     end rotation point.
+   */
+  GEOMAPI_EXPORT void setRotation(const std::shared_ptr<GeomAPI_Pnt> theCenterPoint,
+                                  const std::shared_ptr<GeomAPI_Pnt> theStartPoint,
+                                  const std::shared_ptr<GeomAPI_Pnt> theEndPoint);
+
   /** \brief Sets a point symmetry transformation.
    *  \param[in] thePoint symmetry point.
    */
@@ -73,13 +82,6 @@ class GeomAPI_Trsf : public GeomAPI_Interface
    *  \param[in] thePlane symmetry plane.
    */
   GEOMAPI_EXPORT void setSymmetry(const std::shared_ptr<GeomAPI_Ax2> thePlane);
-
-  /** \brief Sets a scale transformation using a factor.
-   *  \param[in] theCenterPoint center point.
-   *  \param[in] theScaleFactor scale factor.
-   */
-  GEOMAPI_EXPORT void setScale(const std::shared_ptr<GeomAPI_Pnt> theCenterPoint,
-                               const double theScaleFactor);
 };
 
 #endif