20 #ifndef SRC_SKETCHAPI_SKETCHAPI_CONSTRAINT_H_
21 #define SRC_SKETCHAPI_SKETCHAPI_CONSTRAINT_H_
23 #include "SketchAPI.h"
25 #include <ModelHighAPI_Interface.h>
26 #include <ModelHighAPI_Macro.h>
27 #include <ModelHighAPI_RefAttr.h>
29 #include <SketchPlugin_Constraint.h>
49 static std::string ID()
51 static const std::string MY_SKETCH_CONSTRAINT_ID =
"SketchConstraint";
52 return MY_SKETCH_CONSTRAINT_ID;
54 virtual std::string getID() {
return ID(); }
66 SKETCHAPI_EXPORT
double value()
const;
Class for filling ModelAPI_AttributeDouble.
Definition: ModelHighAPI_Double.h:37
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:46
Class for filling ModelAPI_AttributeRefAttr.
Definition: ModelHighAPI_RefAttr.h:41
Interface for Constraint feature.
Definition: SketchAPI_Constraint.h:39
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: SketchAPI_Constraint.cpp:185
SketchAPI_Constraint(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: SketchAPI_Constraint.cpp:50
virtual ~SketchAPI_Constraint()
Destructor.
Definition: SketchAPI_Constraint.cpp:59
Base class for Sketch feature interfaces.
Definition: SketchAPI_SketchEntity.h:38