]> SALOME platform Git repositories - modules/shaper.git/blob - src/ModelAPI/ModelAPI_BodyBuilder.cpp
Salome HOME
Porting to SALOME_8.2.0 : Debug visualization selection for AIS_Trihedron axes.
[modules/shaper.git] / src / ModelAPI / ModelAPI_BodyBuilder.cpp
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        ModelAPI_ResultBody.cpp
4 // Created:     07 Jul 2014
5 // Author:      Mikhail PONIKAROV
6
7 #include "ModelAPI_BodyBuilder.h"
8 #include "ModelAPI_Object.h"
9
10 ModelAPI_BodyBuilder::ModelAPI_BodyBuilder(ModelAPI_Object* theOwner)
11 : myOwner(theOwner)
12 {
13 }
14
15 std::shared_ptr<ModelAPI_Data> ModelAPI_BodyBuilder::data() const
16 {
17   return myOwner->data();
18 }
19
20 std::shared_ptr<ModelAPI_Document> ModelAPI_BodyBuilder::document() const
21 {
22   return myOwner->document();
23 }