20 #ifndef SketchSolver_ConstraintDistance_H_
21 #define SketchSolver_ConstraintDistance_H_
23 #include <SketchSolver_Constraint.h>
53 std::vector<EntityWrapperPtr>& theAttributes);
60 void addConstraintsToKeepSign();
61 void removeConstraintsKeepingSign();
66 GCSPointPtr myOddPoint;
Send events to listeners about changing a feature.
Definition: PlaneGCSSolver_Update.h:38
Convert distance constraint to SolveSpace structure.
Definition: SketchSolver_ConstraintDistance.h:30
virtual void adjustConstraint()
This method is used in derived objects to check consistence of constraint.
Definition: SketchSolver_ConstraintDistance.cpp:192
virtual bool remove()
Remove constraint.
Definition: SketchSolver_ConstraintDistance.cpp:261
virtual void getAttributes(EntityWrapperPtr &theValue, std::vector< EntityWrapperPtr > &theAttributes)
Generate list of attributes of constraint in order useful for constraints.
Definition: SketchSolver_ConstraintDistance.cpp:156
virtual void update()
Update constraint.
Definition: SketchSolver_ConstraintDistance.cpp:215
SketchSolver_ConstraintDistance(ConstraintPtr theConstraint)
Constructor based on SketchPlugin constraint.
Definition: SketchSolver_ConstraintDistance.h:33
virtual void notify(const FeaturePtr &theFeature, PlaneGCSSolver_Update *)
Notify this object about the feature is changed somewhere.
Definition: SketchSolver_ConstraintDistance.cpp:343
Converts SketchPlugin constraint to the constraint applicable for solver.
Definition: SketchSolver_Constraint.h:39