20 #ifndef SketchSolver_ConstraintMiddle_H_
21 #define SketchSolver_ConstraintMiddle_H_
23 #include <SketchSolver_ConstraintCoincidence.h>
38 virtual void notify(
const FeaturePtr& theFeature,
49 std::vector<EntityWrapperPtr>& theAttributes);
52 ConstraintWrapperPtr myMiddle;
53 GCSPointPtr myOddPoint;
Send events to listeners about changing a feature.
Definition: PlaneGCSSolver_Update.h:38
Convert coincidence constraint to SolveSpace structure.
Definition: SketchSolver_ConstraintCoincidence.h:30
Converts middle-point constraint to the constraint applicable for solver.
Definition: SketchSolver_ConstraintMiddle.h:30
SketchSolver_ConstraintMiddle(ConstraintPtr theConstraint)
Constructor based on SketchPlugin constraint.
Definition: SketchSolver_ConstraintMiddle.h:33
virtual bool remove()
Remove constraint.
Definition: SketchSolver_ConstraintMiddle.cpp:51
virtual void getAttributes(EntityWrapperPtr &theValue, std::vector< EntityWrapperPtr > &theAttributes)
Generate list of attributes of constraint in order useful for constraints.
Definition: SketchSolver_ConstraintMiddle.cpp:33
virtual void notify(const FeaturePtr &theFeature, PlaneGCSSolver_Update *theUpdater)
Notify this object about the feature is changed somewhere.
Definition: SketchSolver_ConstraintMiddle.cpp:65