X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_Scale.h;h=b78a84f093df34d1546f5f57764c55243f116ddd;hb=87f348fe7ec3805441bd5524536736eeb2e87501;hp=3fcb1c48671918f18fe8231dca703ff7ec10e054;hpb=698a1c427ab2537e7a96b5206d6987087b78f54f;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Scale.h b/src/GeomAlgoAPI/GeomAlgoAPI_Scale.h index 3fcb1c486..b78a84f09 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Scale.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Scale.h @@ -18,12 +18,6 @@ class GeomAlgoAPI_Scale : public GeomAlgoAPI_MakeShape { public: - /// Type of scale operation - enum MethodType { - BY_FACTOR, ///< Scale by factor. - BY_DIMENSIONS, ///< Scale by dimensions. - }; - /// \brief Creates an object which is obtained from current object by performing /// a scale operation by a factor. /// \param[in] theSourceShape the shape to be moved. @@ -33,19 +27,6 @@ public: std::shared_ptr theCenterPoint, double theScaleFactor); - /// \brief Creates an object which is obtained from current object by performing - /// a scale operation by dimensions. - /// \param[in] theSourceShape the shape to be moved. - /// \param[in] theCenterPoint the center point. - /// \param[in] theFactorX the scale factor in X. - /// \param[in] theFactorY the scale factor in Y. - /// \param[in] theFactorZ the scale factor in Z. - GEOMALGOAPI_EXPORT GeomAlgoAPI_Scale(std::shared_ptr theSourceShape, - std::shared_ptr theCenterPoint, - double theScaleFactorX, - double theScaleFactorY, - double theScaleFactorZ); - /// Checks if data for the scale transform is OK. GEOMALGOAPI_EXPORT bool check(); @@ -53,16 +34,9 @@ public: GEOMALGOAPI_EXPORT void build(); private: - MethodType myMethodType; /// Type of method used. std::shared_ptr mySourceShape; /// Shape to be moved. std::shared_ptr myCenterPoint; /// Center point. double myScaleFactor; /// Scale factor. - double myScaleFactorX; /// Scale factor in X. - double myScaleFactorY; /// Scale factor in Y. - double myScaleFactorZ; /// Scale factor in Z. - - void buildByFactor(); - void buildByDimensions(); }; #endif // GEOMALGOAPI_SCALE_H_ \ No newline at end of file