1 // Name : SketchAPI_SketchEntity.cpp
5 // 07/06/16 - Sergey POKHODENKO - Creation of the file
7 //--------------------------------------------------------------------------------------
8 #include "SketchAPI_SketchEntity.h"
9 //--------------------------------------------------------------------------------------
10 #include <ModelHighAPI_Tools.h>
11 //--------------------------------------------------------------------------------------
12 SketchAPI_SketchEntity::SketchAPI_SketchEntity(
13 const std::shared_ptr<ModelAPI_Feature> & theFeature)
14 : ModelHighAPI_Interface(theFeature)
19 SketchAPI_SketchEntity::~SketchAPI_SketchEntity()
24 //--------------------------------------------------------------------------------------
25 bool SketchAPI_SketchEntity::initialize()
27 SET_ATTRIBUTE(Auxiliary, ModelAPI_AttributeBoolean, SketchPlugin_SketchEntity::AUXILIARY_ID())
32 //--------------------------------------------------------------------------------------
33 std::shared_ptr<ModelAPI_AttributeBoolean> SketchAPI_SketchEntity::auxiliary() const
38 void SketchAPI_SketchEntity::setAuxiliary(bool theAuxiliary)
40 fillAttribute(theAuxiliary, myAuxiliary);
45 //--------------------------------------------------------------------------------------