Salome HOME
Make the correct order in the searching of shape by name algorithm
[modules/shaper.git] / src / Model / Model_ResultConstruction.cpp
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        ModelAPI_ResultConstruction.cpp
4 // Created:     07 Jul 2014
5 // Author:      Mikhail PONIKAROV
6
7 #include <Model_ResultConstruction.h>
8
9 void Model_ResultConstruction::setShape(std::shared_ptr<GeomAPI_Shape> theShape)
10 {
11   myShape = theShape;
12 }
13
14 std::shared_ptr<GeomAPI_Shape> Model_ResultConstruction::shape()
15 {
16   return myShape;
17 }
18
19 Model_ResultConstruction::Model_ResultConstruction()
20 {
21   myIsInHistory = true;
22   setIsConcealed(false);
23 }
24
25 void Model_ResultConstruction::setIsInHistory(const bool isInHistory)
26 {
27   myIsInHistory = isInHistory;
28 }