Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply widget value change by enter/tab event.
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_Point.h
diff --git
a/src/SketchPlugin/SketchPlugin_Point.h
b/src/SketchPlugin/SketchPlugin_Point.h
index c855dd32a95284c1d72cbbfa92213b7f2436d4d6..59995ff4310aeb44edc72c2f950f4d3e09c0c119 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_Point.h
+++ b/
src/SketchPlugin/SketchPlugin_Point.h
@@
-9,14
+9,14
@@
#include "SketchPlugin.h"
#include <SketchPlugin_Sketch.h>
#include "SketchPlugin.h"
#include <SketchPlugin_Sketch.h>
-#include "SketchPlugin_
Feature
.h"
+#include "SketchPlugin_
SketchEntity
.h"
#include <list>
/**\class SketchPlugin_Point
#include <list>
/**\class SketchPlugin_Point
- * \ingroup
DataModel
+ * \ingroup
Plugins
* \brief Feature for creation of a new point.
*/
* \brief Feature for creation of a new point.
*/
-class SketchPlugin_Point : public SketchPlugin_
Feature
+class SketchPlugin_Point : public SketchPlugin_
SketchEntity
{
public:
/// Point feature kind
{
public:
/// Point feature kind
@@
-52,10
+52,6
@@
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);
/// \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<GeomAPI_Pnt2d>& thePoint);
-
/// Called on change of any argument-attribute of this object: for external point
SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
/// Called on change of any argument-attribute of this object: for external point
SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);