]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_WidgetPoint2d.h
Salome HOME
Delete key regression corrections: in previous implementation sketch entities did...
[modules/shaper.git] / src / PartSet / PartSet_WidgetPoint2d.h
index e32cf72c190530d98a6ba3b55c395338e3f596f3..77e286ab2b72f403862e9427028b9009c2fae801 100755 (executable)
@@ -93,6 +93,10 @@ Q_OBJECT
   /// Returns true if the event is processed.
   virtual bool processEnter();
 
+  /// Returns true if the attribute can be changed using the selected shapes in the viewer
+  /// and creating a coincidence constraint to them. This control use them.
+  virtual bool useSelectedShapes() const;
+
 signals:
   /// Signal about selection of an existing vertex from an object
   void vertexSelected();
@@ -164,7 +168,7 @@ protected:
    /// \param theY an Y coordinate of the point
    /// \return boolean result
    static bool isOrphanPoint(const FeaturePtr& theFeature, const CompositeFeaturePtr& theSketch,
-                             double theX, double theY);
+                             double theX, double theY, const bool theSearchInResults = false);
 
 protected:
   ModuleBase_IWorkshop* myWorkshop; ///< workshop