- int aMovedTag = 1;
- std::string aMovedName = "Moved";
- theResultBody->loadAndOrientModifiedShapes(theMovementAlgo.makeShape().get(),
- theBaseShape, GeomAPI_Shape::FACE,
- aMovedTag, aMovedName, *aSubShapes.get());
+ int aTranslatedTag = 1;
+ std::string aTranslatedName = "Translated";
+ theResultBody->loadAndOrientModifiedShapes(&theTranslationAlgo,
+ theBaseShape, GeomAPI_Shape::FACE,
+ aTranslatedTag, aTranslatedName, *aSubShapes.get());