1 // Name : SketchAPI_Rotation.cpp
5 // 16/06/16 - Sergey POKHODENKO - Creation of the file
7 //--------------------------------------------------------------------------------------
8 #include "SketchAPI_Rotation.h"
9 //--------------------------------------------------------------------------------------
10 #include <ModelHighAPI_Tools.h>
11 //--------------------------------------------------------------------------------------
12 SketchAPI_Rotation::SketchAPI_Rotation(
13 const std::shared_ptr<ModelAPI_Feature> & theFeature)
14 : SketchAPI_SketchEntity(theFeature)
19 SketchAPI_Rotation::SketchAPI_Rotation(
20 const std::shared_ptr<ModelAPI_Feature> & theFeature,
21 const std::list<std::shared_ptr<ModelAPI_Object> > & theObjects,
22 const ModelHighAPI_RefAttr & theCenter,
23 const ModelHighAPI_Double & theAngle,
24 const ModelHighAPI_Integer & theNumberOfObjects,
26 : SketchAPI_SketchEntity(theFeature)
29 fillAttribute(theObjects, rotationList());
30 fillAttribute(theCenter, center());
31 fillAttribute(theAngle, angle());
32 fillAttribute(theNumberOfObjects, numberOfObjects());
34 fillAttribute("SingleAngle", valueType());
40 SketchAPI_Rotation::~SketchAPI_Rotation()
45 //--------------------------------------------------------------------------------------