20 #ifndef SketchPlugin_IntersectionPoint_H_
21 #define SketchPlugin_IntersectionPoint_H_
23 #include "SketchPlugin_SketchEntity.h"
34 inline static const std::string&
ID()
36 static const std::string MY_POINT_ID(
"SketchIntersectionPoint");
46 static const std::string& EXTERNAL_FEATURE_ID()
48 static std::string MY_FEATURE_ID(
"ExternalFeature");
52 static const std::string& INTERSECTION_POINTS_ID()
54 static std::string MY_INTERSECTIONS_ID(
"IntersectionPoints");
55 return MY_INTERSECTIONS_ID;
58 static const std::string& INCLUDE_INTO_RESULT()
60 static std::string MY_INCLUDE(
"IncludeToResult");
74 SKETCHPLUGIN_EXPORT
virtual void execute();
88 void computePoint(
const std::string& theID);
Feature for creation of external point as an intersection between external edge and a plane of the sk...
Definition: SketchPlugin_IntersectionPoint.h:31
virtual void attributeChanged(const std::string &theID)
Called on change of any argument-attribute of this object: for external point.
Definition: SketchPlugin_IntersectionPoint.cpp:64
virtual void initDerivedClassAttributes()
Initializes attributes of derived class.
Definition: SketchPlugin_IntersectionPoint.cpp:41
virtual bool canBeDisplayed() const
Returns true if the feature and the feature results can be displayed.
Definition: SketchPlugin_IntersectionPoint.h:70
virtual const std::string & getKind()
Returns the kind of a feature.
Definition: SketchPlugin_IntersectionPoint.h:40
virtual void execute()
Creates a new part document if needed.
Definition: SketchPlugin_IntersectionPoint.cpp:55
SketchPlugin_IntersectionPoint()
Use plugin manager for features creation.
Definition: SketchPlugin_IntersectionPoint.cpp:35
static const std::string & ID()
Point feature kind.
Definition: SketchPlugin_IntersectionPoint.h:34
virtual bool isFixed()
Returns true because intersection point is always external.
Definition: SketchPlugin_IntersectionPoint.h:65
Sketch Entity for creation of the new feature in PartSet.
Definition: SketchPlugin_SketchEntity.h:45