1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2 // Name : SketchAPI_Constraint.h
6 // 08/08/16 - Artem ZHIDKOV - Creation of the file
8 #ifndef SRC_SKETCHAPI_SKETCHAPI_CONSTRAINT_H_
9 #define SRC_SKETCHAPI_SKETCHAPI_CONSTRAINT_H_
11 #include "SketchAPI.h"
13 #include <ModelHighAPI_Interface.h>
14 #include <ModelHighAPI_Macro.h>
15 #include <ModelHighAPI_RefAttr.h>
17 #include <SketchPlugin_Constraint.h>
19 /**\class SketchAPI_Constraint
21 * \brief Interface for Constraint feature
23 class SketchAPI_Constraint : public ModelHighAPI_Interface
26 /// Constructor without values
28 explicit SketchAPI_Constraint(const std::shared_ptr<ModelAPI_Feature> & theFeature);
32 virtual ~SketchAPI_Constraint();
34 static std::string ID()
36 static const std::string DUMMY;
39 virtual std::string getID() { return ID(); }
44 /// Dump wrapped feature
46 virtual void dump(ModelHighAPI_Dumper& theDumper) const;