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
#858 'Tangency' constraint doesn't work
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_Point.h
diff --git
a/src/SketchPlugin/SketchPlugin_Point.h
b/src/SketchPlugin/SketchPlugin_Point.h
index a60f9bebab70a1e73c8619b6ebda4125aaca165e..4c774715757edc8463ee320102c7699d01f70ed7 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
@@
-56,6
+56,9
@@
class SketchPlugin_Point : public SketchPlugin_Feature
/// \param thePoint the point
virtual double distanceToPoint(const std::shared_ptr<GeomAPI_Pnt2d>& thePoint);
/// \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);
+
/// Use plugin manager for features creation
SketchPlugin_Point();
};
/// Use plugin manager for features creation
SketchPlugin_Point();
};