20 #ifndef SketchSolver_ConstraintFixed_H_
21 #define SketchSolver_ConstraintFixed_H_
23 #include <SketchSolver_Constraint.h>
45 virtual void getAttributes(EntityWrapperPtr& , std::vector<EntityWrapperPtr>& )
54 ConstraintWrapperPtr
fixFeature(EntityWrapperPtr theFeature);
57 std::vector<double> myFixedValues;
Stores data of the Fixed constraint.
Definition: SketchSolver_ConstraintFixed.h:30
virtual void process()
Converts SketchPlugin constraint to a list of SolveSpace constraints.
Definition: SketchSolver_ConstraintFixed.cpp:47
virtual void getAttributes(EntityWrapperPtr &, std::vector< EntityWrapperPtr > &)
Generate list of attributes of constraint in order useful for constraints.
Definition: SketchSolver_ConstraintFixed.h:45
virtual void blockEvents(bool isBlocked)
Block or unblock events from this constraint.
Definition: SketchSolver_ConstraintFixed.cpp:42
SketchSolver_ConstraintFixed(ConstraintPtr theConstraint)
Creates constraint to manage the given constraint from plugin.
Definition: SketchSolver_ConstraintFixed.cpp:36
ConstraintWrapperPtr fixFeature(EntityWrapperPtr theFeature)
Create Fixed constraint for the feature basing on its type.
Definition: SketchSolver_ConstraintFixed.cpp:65
EntityWrapperPtr entityToFix()
Obtain entity to be fixed.
Definition: SketchSolver_ConstraintFixed.cpp:83
Converts SketchPlugin constraint to the constraint applicable for solver.
Definition: SketchSolver_Constraint.h:39