20 #ifndef BuildPlugin_Vertex_H_
21 #define BuildPlugin_Vertex_H_
23 #include "BuildPlugin.h"
25 #include <ModelAPI_Feature.h>
26 #include <GeomAPI_Shape.h>
38 inline static const std::string&
ID()
40 static const std::string MY_ID(
"Vertex");
47 static const std::string MY_BASE_OBJECTS_ID(
"base_objects");
48 return MY_BASE_OBJECTS_ID;
54 static const std::string MY_INTERSECT_ID(
"intersect");
55 return MY_INTERSECT_ID;
59 BUILDPLUGIN_EXPORT
virtual const std::string&
getKind()
69 BUILDPLUGIN_EXPORT
virtual void execute();
72 void buildVertices(
const ListOfShape& theShapes,
bool isIntersect);
Feature for creation of vertex from sketch vertex or existing vertices.
Definition: BuildPlugin_Vertex.h:32
virtual const std::string & getKind()
Definition: BuildPlugin_Vertex.h:59
virtual void execute()
Creates a new part document if needed.
Definition: BuildPlugin_Vertex.cpp:136
static const std::string & INTERSECT_ID()
Attribute name of "Compute intersections" checkbox.
Definition: BuildPlugin_Vertex.h:52
BuildPlugin_Vertex()
Use plugin manager for features creation.
Definition: BuildPlugin_Vertex.cpp:39
static const std::string & BASE_OBJECTS_ID()
Attribute name of base objects.
Definition: BuildPlugin_Vertex.h:45
static const std::string & ID()
Feature kind.
Definition: BuildPlugin_Vertex.h:38
virtual void initAttributes()
Request for initialization of data model of the feature: adding all attributes.
Definition: BuildPlugin_Vertex.cpp:44
Feature function that represents the particular functionality of this operation.
Definition: ModelAPI_Feature.h:39