20 #ifndef SRC_SKETCHAPI_SKETCHAPI_PROJECTION_H_
21 #define SRC_SKETCHAPI_SKETCHAPI_PROJECTION_H_
24 #include "SketchAPI.h"
26 #include <SketchPlugin_Projection.h>
28 #include "SketchAPI_SketchEntity.h"
Attribute that contains boolean value.
Definition: ModelAPI_AttributeBoolean.h:31
Attribute that contains reference to an attribute of a feature or reference to a feature (switchable)
Definition: ModelAPI_AttributeRefAttr.h:33
Attribute that contains reference to the sub-shape of some result, the selected shape.
Definition: ModelAPI_AttributeSelection.h:35
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Class for filling ModelAPI_AttributeSelection.
Definition: ModelHighAPI_Selection.h:49
Interface for Projection feature.
Definition: SketchAPI_Projection.h:37
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: SketchAPI_Projection.cpp:120
std::shared_ptr< SketchAPI_SketchEntity > createdFeature() const
Returns created feature.
Definition: SketchAPI_Projection.cpp:88
virtual ~SketchAPI_Projection()
Destructor.
Definition: SketchAPI_Projection.cpp:59
SketchAPI_Projection(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: SketchAPI_Projection.cpp:42
virtual std::shared_ptr< ModelAPI_AttributeSelection > externalFeature() const
External feature.
Definition: SketchAPI_Projection.h:59
virtual std::shared_ptr< ModelAPI_AttributeBoolean > includeToResult() const
Include into result.
Definition: SketchAPI_Projection.h:59
void setIncludeToResult(bool theKeepResult)
Set flag to include projection to result or not.
Definition: SketchAPI_Projection.cpp:72
void setKeepReferenceToOriginal(bool theKeepRefToOriginal)
Set flag to keep the reference to the original shape.
Definition: SketchAPI_Projection.cpp:78
virtual std::shared_ptr< ModelAPI_AttributeSelection > external() const
External.
Definition: SketchAPI_Projection.h:59
virtual std::shared_ptr< ModelAPI_AttributeRefAttr > projectedFeature() const
Projected feature.
Definition: SketchAPI_Projection.h:59
void setExternalFeature(const ModelHighAPI_Selection &theExternalLine)
Set external feature.
Definition: SketchAPI_Projection.cpp:65
Base class for Sketch feature interfaces.
Definition: SketchAPI_SketchEntity.h:38
static const std::string & ID()
Projection feature kind.
Definition: SketchPlugin_Projection.h:35
static const std::string & EXTERNAL_ID()
Reference to the external edge or vertex as a AttributeSelection.
Definition: SketchPlugin_SketchEntity.h:55