1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomAlgoAPI_Copy.h
4 // Created: 06 Sept 2016
5 // Author: Dmitry Bobylev
7 #ifndef GeomAlgoAPI_Copy_H_
8 #define GeomAlgoAPI_Copy_H_
10 #include <GeomAlgoAPI.h>
11 #include <GeomAlgoAPI_MakeShape.h>
13 #include <GeomAPI_Shape.h>
15 /// \class GeomAlgoAPI_Copy
17 /// \brief Duplication of a shape.
18 class GeomAlgoAPI_Copy : public GeomAlgoAPI_MakeShape
23 GEOMALGOAPI_EXPORT GeomAlgoAPI_Copy(const std::shared_ptr<GeomAPI_Shape> theShape,
24 const bool theCopyGeom = true,
25 const bool theCopyMesh = false);
28 /// Builds resulting shape.
29 void build(const std::shared_ptr<GeomAPI_Shape> theShape,
30 const bool theCopyGeom = true,
31 const bool theCopyMesh = false);