Salome HOME
Initial version of redesign of working with results
[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 boost::shared_ptr<ModelAPI_Feature> Model_ResultConstruction::owner()
18 {
19   return myOwner;
20 }
21
22 Model_ResultConstruction::Model_ResultConstruction(
23   const boost::shared_ptr<ModelAPI_Feature>& theFeature)
24   : myOwner(theFeature)
25 {
26 }