Salome HOME
Interfaces to be used by Import feature.
[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(boost::shared_ptr<GeomAPI_Shape> theShape)
8 {
9   myShape = theShape;
10 }
11
12 boost::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 }