20 #ifndef SketchPlugin_Point_H_
21 #define SketchPlugin_Point_H_
23 #include "SketchPlugin.h"
24 #include <SketchPlugin_Sketch.h>
25 #include "SketchPlugin_SketchEntity.h"
36 inline static const std::string&
ID()
38 static const std::string MY_POINT_ID(
"SketchPoint");
44 static const std::string MY_COORD_ID(
"PointCoordinates");
48 SKETCHPLUGIN_EXPORT
virtual const std::string&
getKind()
55 SKETCHPLUGIN_EXPORT
virtual bool isFixed();
58 SKETCHPLUGIN_EXPORT
virtual void execute();
Feature for creation of a new point.
Definition: SketchPlugin_Point.h:33
virtual void initDerivedClassAttributes()
Initializes attributes of derived class.
Definition: SketchPlugin_Point.cpp:39
virtual const std::string & getKind()
Returns the kind of a feature.
Definition: SketchPlugin_Point.h:48
static const std::string & ID()
Point feature kind.
Definition: SketchPlugin_Point.h:36
virtual void execute()
Creates a new part document if needed.
Definition: SketchPlugin_Point.cpp:46
static const std::string & COORD_ID()
Coordinates of the point.
Definition: SketchPlugin_Point.h:42
virtual void attributeChanged(const std::string &theID)
Called on change of any argument-attribute of this object: for external point.
Definition: SketchPlugin_Point.cpp:68
SketchPlugin_Point()
Use plugin manager for features creation.
Definition: SketchPlugin_Point.cpp:34
virtual bool isFixed()
Returns true is sketch element is under the rigid constraint.
Definition: SketchPlugin_Point.cpp:64
Sketch Entity for creation of the new feature in PartSet.
Definition: SketchPlugin_SketchEntity.h:45