Salome HOME
Revert "First phase of SketchSolver refactoring"
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintDistance.h
index e1d8a71abfe99f5c283bdce2939a64fa05a30e1c..cbd6ccf37f6ac2a5773f443744972c64149720ad 100644 (file)
@@ -67,12 +67,13 @@ class SketchPlugin_ConstraintDistance : public SketchPlugin_ConstraintBase
   /// \param theID identifier of changed attribute
   SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
 
-  /// Returns the current distance between the feature attributes
-  double calculateCurrentDistance();
-
   /// \brief Use plugin manager for features creation
   SketchPlugin_ConstraintDistance();
 
+protected:
+  /// Returns the current distance between the feature attributes
+  double calculateCurrentDistance();
+
 private:
   bool myFlyoutUpdate; ///< to avoid cyclic dependencies on automatic updates of flyout point
 };