1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: FeaturesPlugin_RevolutionBoolean.cpp
4 // Created: 11 June 2015
5 // Author: Dmitry Bobylev
7 #include "FeaturesPlugin_RevolutionBoolean.h"
9 //=================================================================================================
10 void FeaturesPlugin_RevolutionBoolean::initAttributes()
12 FeaturesPlugin_Revolution::initAttributes();
14 initBooleanAttributes();
17 //=================================================================================================
18 bool FeaturesPlugin_RevolutionBoolean::makeGeneration(ListOfShape& theBaseShapes,
19 ListOfMakeShape& theMakeShapes)
21 return makeRevolutions(theBaseShapes, theMakeShapes);
24 //=================================================================================================
25 void FeaturesPlugin_RevolutionBoolean::storeGenerationHistory(ResultBodyPtr theResultBody,
26 const GeomShapePtr theBaseShape,
27 const std::shared_ptr<GeomAlgoAPI_MakeShape> theMakeShape,
30 FeaturesPlugin_Revolution::storeGenerationHistory(theResultBody, theBaseShape,
31 theMakeShape, theTag);