X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Point.h;h=59995ff4310aeb44edc72c2f950f4d3e09c0c119;hb=1105bfe31c0304ffacd85363d070322049d564f1;hp=a60f9bebab70a1e73c8619b6ebda4125aaca165e;hpb=3d7368386762b057fff327d24d0079b4a73c3004;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Point.h b/src/SketchPlugin/SketchPlugin_Point.h index a60f9beba..59995ff43 100644 --- a/src/SketchPlugin/SketchPlugin_Point.h +++ b/src/SketchPlugin/SketchPlugin_Point.h @@ -9,14 +9,14 @@ #include "SketchPlugin.h" #include -#include "SketchPlugin_Feature.h" +#include "SketchPlugin_SketchEntity.h" #include /**\class SketchPlugin_Point - * \ingroup DataModel + * \ingroup Plugins * \brief Feature for creation of a new point. */ -class SketchPlugin_Point : public SketchPlugin_Feature +class SketchPlugin_Point : public SketchPlugin_SketchEntity { public: /// Point feature kind @@ -52,9 +52,8 @@ class SketchPlugin_Point : public SketchPlugin_Feature /// \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 std::shared_ptr& thePoint); + /// Called on change of any argument-attribute of this object: for external point + SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID); /// Use plugin manager for features creation SketchPlugin_Point();