1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: FeaturesPlugin_RevolutionCut.h
4 // Created: 11 June 2015
5 // Author: Dmitry Bobylev
7 #ifndef FeaturesPlugin_RevolutionCut_H_
8 #define FeaturesPlugin_RevolutionCut_H_
10 #include <FeaturesPlugin_RevolutionBoolean.h>
12 /** \class FeaturesPlugin_RevolutionCut
14 * \brief This feature allows to create sketch, revol faces from this sketch and
15 * cut result from other objects in a single operation.
17 class FeaturesPlugin_RevolutionCut : public FeaturesPlugin_RevolutionBoolean
21 inline static const std::string& ID()
23 static const std::string MY_REVOLUTION_ID("RevolutionCut");
24 return MY_REVOLUTION_ID;
27 /// \return the kind of a feature
28 FEATURESPLUGIN_EXPORT virtual const std::string& getKind()
30 static std::string MY_KIND = FeaturesPlugin_RevolutionCut::ID();
34 /// Use plugin manager for features creation.
35 FeaturesPlugin_RevolutionCut();