-
-//=================================================================================================
-void FeaturesPlugin_Scale::loadNamingDS(GeomAlgoAPI_Scale& theScaleAlgo,
- std::shared_ptr<ModelAPI_ResultBody> theResultBody,
- std::shared_ptr<GeomAPI_Shape> theBaseShape)
-{
- // Store and name the result.
- theResultBody->storeModified(theBaseShape, theScaleAlgo.shape());
-
- // Name the faces
- std::shared_ptr<GeomAPI_DataMapOfShapeShape> aSubShapes = theScaleAlgo.mapOfSubShapes();
- int aReflectedTag = 1;
- std::string aReflectedName = "Scaled";
- theResultBody->loadAndOrientModifiedShapes(&theScaleAlgo,
- theBaseShape, GeomAPI_Shape::FACE,
- aReflectedTag, aReflectedName, *aSubShapes.get());
-}