-private:
- /// Load Naming data structure of the feature to the document.
- void LoadNamingDS(GeomAlgoAPI_Revolution& theFeature, std::shared_ptr<ModelAPI_ResultBody> theResultBody,
- std::shared_ptr<GeomAPI_Shape> theBasis,
- std::shared_ptr<GeomAPI_Shape> theContext);
+ protected:
+ /// Generates revolutions.
+ /// \param[out] theBaseShapes list of base shapes.
+ /// \param[out] theMakeShapes list of according algos.
+ /// \return false in case one of algo failed.
+ bool makeRevolutions(ListOfShape& theBaseShapes,
+ ListOfMakeShape& theMakeShapes);