X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_Rotation.h;h=ef56c33eafc67e79573d515ea50d601c27eb87d6;hb=f5c7bb3100ed321392da42f61c2ab505833ec61a;hp=079fe75aa62a75a520ac3ad4e25999b2a0b6a9e5;hpb=2ba159c01a53a7810d82ec5795b4b3be96308fdf;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Rotation.h b/src/GeomAlgoAPI/GeomAlgoAPI_Rotation.h index 079fe75aa..ef56c33ea 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Rotation.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Rotation.h @@ -12,6 +12,7 @@ #include #include #include +#include /** \class GeomAlgoAPI_Rotation * \ingroup DataAlgo @@ -39,7 +40,7 @@ public: /// \return true if resulting shape has volume. GEOMALGOAPI_EXPORT const bool hasVolume() const; - /// \return result of the Placement algorithm which may be a Solid or a Face. + /// \return result of the rotation algorithm. GEOMALGOAPI_EXPORT const std::shared_ptr& shape() const; /// \return map of sub-shapes of the result. To be used for History keeping. @@ -48,6 +49,9 @@ public: /// \return interface for for History processing. GEOMALGOAPI_EXPORT std::shared_ptr makeShape() const; + /// Returns the simple transformation + GEOMALGOAPI_EXPORT std::shared_ptr transformation() const; + private: /// Builds resulting shape. void build(std::shared_ptr theSourceShape, @@ -60,6 +64,7 @@ private: std::shared_ptr myShape; std::shared_ptr myMap; std::shared_ptr myMkShape; + std::shared_ptr myTrsf; ///< transformation of the shape in case theSimpleTransform }; #endif