X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Point.h;h=be36d016fb9f8ea6ad53eb3a6de5bc88c4b3fcfa;hb=5e79a0b847d0a3e650703ebf112beefbfda4e153;hp=9faf8c9110f35d7d3cb1c337583baff79605ace1;hpb=23b712002a59e78673d8fce54c24aa4a7ab9ee51;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Point.h b/src/SketchPlugin/SketchPlugin_Point.h index 9faf8c911..be36d016f 100644 --- a/src/SketchPlugin/SketchPlugin_Point.h +++ b/src/SketchPlugin/SketchPlugin_Point.h @@ -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& thePoint); + /// Use plugin manager for features creation SketchPlugin_Point(); };