Salome HOME
Add call execute() to sketch feature.
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintCoincidence.h
index 43354e80d4e7c907d7bafeaf74695cf8ebed297c..efb01572d063fa923a1fff61237a4728eb014a65 100644 (file)
@@ -18,6 +18,7 @@
 class SketchSolver_ConstraintCoincidence : public SketchSolver_Constraint
 {
 public:
+  /// Constructor based on SketchPlugin constraint
   SketchSolver_ConstraintCoincidence(ConstraintPtr theConstraint) :
       SketchSolver_Constraint(theConstraint),
       myType(SLVS_C_UNKNOWN)
@@ -58,6 +59,9 @@ private:
   /// \brief Create full SolveSpace structure according to given constraint
   void addConstraint(ConstraintPtr theConstraint);
 
+  /// \brief Create constraint of point concident to the line or circle
+  Slvs_hConstraint addPointOnEntity(Slvs_hEntity thePoint, Slvs_hEntity theEntity);
+
 private:
   int myType; ///< type of constraint (applicable SLVS_C_POINTS_COINCIDENT or SLVS_C_PT_ON_LINE or SLVS_C_PT_ON_CIRCLE)
   std::map<ConstraintPtr, Slvs_hConstraint> myExtraCoincidence; ///< multiple coincidence of points