20 #ifndef SRC_SKETCHAPI_SKETCHAPI_SKETCHENTITY_H_
21 #define SRC_SKETCHAPI_SKETCHAPI_SKETCHENTITY_H_
24 #include "SketchAPI.h"
26 #include <SketchPlugin_SketchEntity.h>
28 #include <ModelHighAPI_Interface.h>
29 #include <ModelHighAPI_Macro.h>
49 std::shared_ptr<ModelAPI_AttributeBoolean>
auxiliary()
const;
60 static std::list<std::shared_ptr<SketchAPI_SketchEntity> >
61 wrap(
const std::list<std::shared_ptr<ModelAPI_Feature> >& theFeatures);
64 std::shared_ptr<ModelAPI_AttributeBoolean> myAuxiliary;
73 typedef std::shared_ptr<SketchAPI_SketchEntity> SketchEntityPtr;
Feature function that represents the particular functionality of this operation.
Definition: ModelAPI_Feature.h:41
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:46
Base class for Sketch feature interfaces.
Definition: SketchAPI_SketchEntity.h:38
std::shared_ptr< ModelAPI_AttributeBoolean > auxiliary() const
Auxiliary.
Definition: SketchAPI_SketchEntity.cpp:62
void setAuxiliary(bool theAuxiliary)
Set auxiliary.
Definition: SketchAPI_SketchEntity.cpp:67
virtual ~SketchAPI_SketchEntity()
Destructor.
Definition: SketchAPI_SketchEntity.cpp:48
bool isCopy() const
Check the entity is a copy of another feature.
Definition: SketchAPI_SketchEntity.cpp:85
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: SketchAPI_SketchEntity.cpp:75
static std::list< std::shared_ptr< SketchAPI_SketchEntity > > wrap(const std::list< std::shared_ptr< ModelAPI_Feature > > &theFeatures)
Convert list of features to list of appropriate wrappers.
Definition: SketchAPI_SketchEntity.cpp:94
SketchAPI_SketchEntity(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: SketchAPI_SketchEntity.cpp:41