Salome HOME
Fix for naming in Build features.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Copy.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        GeomAlgoAPI_Copy.h
4 // Created:     06 Sept 2016
5 // Author:      Dmitry Bobylev
6
7 #ifndef GeomAlgoAPI_Copy_H_
8 #define GeomAlgoAPI_Copy_H_
9
10 #include <GeomAlgoAPI.h>
11 #include <GeomAlgoAPI_MakeShape.h>
12
13 #include <GeomAPI_Shape.h>
14
15 /// \class GeomAlgoAPI_Copy
16 /// \ingroup DataAlgo
17 /// \brief Duplication of a shape.
18 class GeomAlgoAPI_Copy : public GeomAlgoAPI_MakeShape
19 {
20 public:
21
22   /// Constructor.
23   GEOMALGOAPI_EXPORT GeomAlgoAPI_Copy(const std::shared_ptr<GeomAPI_Shape> theShape,
24                                       const bool theCopyGeom = true,
25                                       const bool theCopyMesh = false);
26
27 private:
28   /// Builds resulting shape.
29   void build(const std::shared_ptr<GeomAPI_Shape> theShape,
30              const bool theCopyGeom = true,
31              const bool theCopyMesh = false);
32 };
33
34 #endif