+//==================================================================================================
+FeaturesAPI_Scale::FeaturesAPI_Scale(const std::shared_ptr<ModelAPI_Feature>& theFeature,
+ const std::list<ModelHighAPI_Selection>& theMainObjects,
+ const ModelHighAPI_Selection& theCenterPoint,
+ const ModelHighAPI_Double& theScaleFactorX,
+ const ModelHighAPI_Double& theScaleFactorY,
+ const ModelHighAPI_Double& theScaleFactorZ)
+: ModelHighAPI_Interface(theFeature)
+{
+ if (initialize()) {
+ fillAttribute(theMainObjects, mainObjects());
+ fillAttribute(theCenterPoint, centerPoint());
+ setDimensions(theScaleFactorX, theScaleFactorY, theScaleFactorZ);
+ }
+}
+