1 // Name : SketchAPI_Projection.cpp
5 // 16/06/16 - Sergey POKHODENKO - Creation of the file
7 //--------------------------------------------------------------------------------------
8 #include "SketchAPI_Projection.h"
9 //--------------------------------------------------------------------------------------
10 #include <ModelHighAPI_Tools.h>
11 //--------------------------------------------------------------------------------------
12 SketchAPI_Projection::SketchAPI_Projection(
13 const std::shared_ptr<ModelAPI_Feature> & theFeature)
14 : SketchAPI_SketchEntity(theFeature)
19 SketchAPI_Projection::SketchAPI_Projection(
20 const std::shared_ptr<ModelAPI_Feature> & theFeature,
21 const ModelHighAPI_Selection & theExternalFeature )
22 : SketchAPI_SketchEntity(theFeature)
25 setExternalFeature(theExternalFeature);
29 SketchAPI_Projection::~SketchAPI_Projection()
34 //--------------------------------------------------------------------------------------
35 void SketchAPI_Projection::setExternalFeature(const ModelHighAPI_Selection & theExternalFeature)
37 fillAttribute(theExternalFeature, externalFeature());
42 //--------------------------------------------------------------------------------------