]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/SketchSolver_ConstraintLength.h
Salome HOME
Add tools
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintLength.h
index 5d0583752c2dd4634de75fd37299732a3e992e66..f9c0da65ce54dd706629d07028d7447e50cf4c88 100644 (file)
@@ -17,6 +17,7 @@
 class SketchSolver_ConstraintLength : public SketchSolver_Constraint
 {
 public:
+  /// Constructor based on SketchPlugin constraint
   SketchSolver_ConstraintLength(ConstraintPtr theConstraint) :
       SketchSolver_Constraint(theConstraint)
   {}
@@ -27,6 +28,10 @@ public:
 protected:
   /// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
   virtual void process();
+
+  /// \brief This method is used in derived objects to check consistence of constraint.
+  ///        E.g. the distance between line and point may be signed.
+  virtual void adjustConstraint();
 };
 
 #endif