Salome HOME
Merge branch 'Dev_0.6' of newgeom:newgeom into Dev_0.6
[modules/shaper.git] / src / Model / Model_ResultConstruction.cpp
1 // File:        ModelAPI_ResultConstruction.cpp
2 // Created:     07 Jul 2014
3 // Author:      Mikhail PONIKAROV
4
5 #include <Model_ResultConstruction.h>
6
7 void Model_ResultConstruction::setShape(std::shared_ptr<GeomAPI_Shape> theShape)
8 {
9   myShape = theShape;
10 }
11
12 std::shared_ptr<GeomAPI_Shape> Model_ResultConstruction::shape()
13 {
14   return myShape;
15 }
16
17 Model_ResultConstruction::Model_ResultConstruction()
18 {
19   myIsInHistory = true;
20   setIsConcealed(false);
21 }
22
23 void Model_ResultConstruction::setIsInHistory(const bool isInHistory)
24 {
25   myIsInHistory = isInHistory;
26 }