Salome HOME
Task 2.7. Horizontal and Vertical Distance constraint
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintDistance.h
index ef9e3eb1a506e6eaaa98a944130b628fcb7f9c7d..37cbe6f7252183303c944c0525eb6e6facedd191 100644 (file)
@@ -71,7 +71,10 @@ class SketchPlugin_ConstraintDistance : public SketchPlugin_ConstraintBase
 
 protected:
   /// Returns the current distance between the feature attributes
-  double calculateCurrentDistance();
+  virtual double calculateCurrentDistance();
+
+  /// Check the attributes related to distanced points/features are initialized
+  bool areAttributesInitialized();
 
 private:
   bool myFlyoutUpdate; ///< to avoid cyclic dependencies on automatic updates of flyout point