Salome HOME
Using shape selected for sketcher
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintLength.h
index 176c6948eaca97e02e8e45c5d68cc5e323082439..7f91d7e3a33c74ccd37939b715a4dc8877788311 100644 (file)
@@ -28,8 +28,9 @@ protected:
   /// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
   virtual void process();
 
-private:
-  int myType; ///< type of constraint (applicable: SLVS_C_PT_PT_DISTANCE, SLVS_C_PT_LINE_DISTANCE)
+  /// \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