20 #ifndef SketchSolver_ConstraintCoincidence_H_
21 #define SketchSolver_ConstraintCoincidence_H_
23 #include <SketchSolver_Constraint.h>
39 virtual void notify(
const FeaturePtr& theFeature,
53 std::vector<EntityWrapperPtr>& theAttributes);
Send events to listeners about changing a feature.
Definition: PlaneGCSSolver_Update.h:38
Convert coincidence constraint to SolveSpace structure.
Definition: SketchSolver_ConstraintCoincidence.h:30
bool myInSolver
shows the constraint is added to the solver
Definition: SketchSolver_ConstraintCoincidence.h:60
virtual void notify(const FeaturePtr &theFeature, PlaneGCSSolver_Update *theUpdater)
Notify this object about the feature is changed somewhere.
Definition: SketchSolver_ConstraintCoincidence.cpp:296
virtual void process()
Converts SketchPlugin constraint to a list of solver constraints.
Definition: SketchSolver_ConstraintCoincidence.cpp:211
SketchSolver_ConstraintCoincidence(ConstraintPtr theConstraint)
Constructor based on SketchPlugin constraint.
Definition: SketchSolver_ConstraintCoincidence.h:33
virtual void adjustConstraint()
This method is used in derived objects to check consistency of constraint.
Definition: SketchSolver_ConstraintCoincidence.cpp:351
virtual void getAttributes(EntityWrapperPtr &theValue, std::vector< EntityWrapperPtr > &theAttributes)
Generate list of attributes of constraint in order useful for constraints.
Definition: SketchSolver_ConstraintCoincidence.cpp:252
virtual bool remove()
Remove constraint.
Definition: SketchSolver_ConstraintCoincidence.cpp:237
ScalarWrapperPtr myAuxValue
parameter on B-spline curve
Definition: SketchSolver_ConstraintCoincidence.h:62
EntityWrapperPtr myFeatureExtremities[2]
extremities of a feature, a point is coincident to
Definition: SketchSolver_ConstraintCoincidence.h:61
Converts SketchPlugin constraint to the constraint applicable for solver.
Definition: SketchSolver_Constraint.h:39