Salome HOME
refs #80 - Sketch base GUI: create/draw point, circle and arc
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Point.h
index 9faf8c9110f35d7d3cb1c337583baff79605ace1..be36d016fb9f8ea6ad53eb3a6de5bc88c4b3fcfa 100644 (file)
@@ -50,6 +50,10 @@ public:
   /// \param theDeltaY the delta for Y coordinate is moved
   SKETCHPLUGIN_EXPORT virtual void move(const double theDeltaX, const double theDeltaY);
 
+  /// Return the distance between the feature and the point
+  /// \param thePoint the point
+  virtual double distanceToPoint(const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint);
+
   /// Use plugin manager for features creation
   SketchPlugin_Point();
 };