1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: FeaturesPlugin_RevolutionFuse.h
4 // Created: 11 June 2015
5 // Author: Dmitry Bobylev
7 #ifndef FeaturesPlugin_RevolutionFuse_H_
8 #define FeaturesPlugin_RevolutionFuse_H_
10 #include "FeaturesPlugin_RevolutionBoolean.h"
12 /// \class FeaturesPlugin_RevolutionFuse
14 /// \brief This feature allows to create sketch, revol faces from this sketch and
15 /// fuse result with other objects in a single operation.
16 class FeaturesPlugin_RevolutionFuse : public FeaturesPlugin_RevolutionBoolean
19 /// Use plugin manager for features creation.
20 FeaturesPlugin_RevolutionFuse();
23 inline static const std::string& ID()
25 static const std::string MY_REVOLUTION_ID("RevolutionFuse");
26 return MY_REVOLUTION_ID;
29 /// \return the kind of a feature
30 FEATURESPLUGIN_EXPORT virtual const std::string& getKind()
32 static std::string MY_KIND = FeaturesPlugin_RevolutionFuse::ID();
36 /// Creates a new part document if needed.
37 FEATURESPLUGIN_EXPORT virtual void execute();