1 // Name : SketchAPI_Mirror.cpp
5 // 16/06/16 - Sergey POKHODENKO - Creation of the file
7 //--------------------------------------------------------------------------------------
8 #include "SketchAPI_Mirror.h"
9 //--------------------------------------------------------------------------------------
10 #include <ModelHighAPI_Selection.h>
11 #include <ModelHighAPI_Tools.h>
12 //--------------------------------------------------------------------------------------
13 SketchAPI_Mirror::SketchAPI_Mirror(
14 const std::shared_ptr<ModelAPI_Feature> & theFeature)
15 : SketchAPI_SketchEntity(theFeature)
20 SketchAPI_Mirror::SketchAPI_Mirror(
21 const std::shared_ptr<ModelAPI_Feature> & theFeature,
22 const ModelHighAPI_RefAttr & theMirrorLine,
23 const std::list<std::shared_ptr<ModelAPI_Object> > & theObjects)
24 : SketchAPI_SketchEntity(theFeature)
27 fillAttribute(theMirrorLine, mirrorLine());
28 fillAttribute(theObjects, mirrorList());
34 SketchAPI_Mirror::~SketchAPI_Mirror()
39 //--------------------------------------------------------------------------------------