1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: SketchSolver_ConstraintMiddle.h
4 // Created: 03 March 2016
5 // Author: Artem ZHIDKOV
7 #ifndef SketchSolver_ConstraintMiddle_H_
8 #define SketchSolver_ConstraintMiddle_H_
10 #include <SketchSolver_Constraint.h>
12 /** \class SketchSolver_ConstraintMiddle
14 * \brief Converts middle-point constraint to the constraint applicable for solver
16 class SketchSolver_ConstraintMiddle : public SketchSolver_Constraint
19 /// Constructor based on SketchPlugin constraint
20 SKETCHSOLVER_EXPORT SketchSolver_ConstraintMiddle(ConstraintPtr theConstraint);
22 virtual ~SketchSolver_ConstraintMiddle() {}
24 /// \brief Notify constraint, that coincidence appears or removed
25 virtual void notifyCoincidenceChanged(EntityWrapperPtr theCoincAttr1, EntityWrapperPtr theCoincAttr2);