1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomAlgoAPI_MakeShape.h
4 // Created: 17 Oct 2014
5 // Author: Sergey ZARITCHNY
6 #ifndef GeomAlgoAPI_MakeShape_H_
7 #define GeomAlgoAPI_MakeShape_H_
9 #include <GeomAPI_Shape.h>
11 #include <GeomAlgoAPI.h>
12 //#include <BRepBuilderAPI_MakeShape.hxx>
13 /**\class GeomAlgoAPI_MakeShape
15 * \Interface to the root class of all topological shapes constructions
17 class GeomAlgoAPI_MakeShape : public GeomAPI_Interface
21 GEOMALGOAPI_EXPORT GeomAlgoAPI_MakeShape();
23 GEOMALGOAPI_EXPORT GeomAlgoAPI_MakeShape(void* theBuilder);
25 /// Returns a shape built by the shape construction algorithm
26 GEOMALGOAPI_EXPORT const std::shared_ptr<GeomAPI_Shape> shape() const;
28 /// Returns the list of shapes generated from the shape <theShape>
29 GEOMALGOAPI_EXPORT virtual void generated(
30 const std::shared_ptr<GeomAPI_Shape> theShape, ListOfShape& theHistory);
32 /// Returns the list of shapes modified from the shape <theShape>
33 GEOMALGOAPI_EXPORT virtual void modified(
34 const std::shared_ptr<GeomAPI_Shape> theShape, ListOfShape& theHistory);
36 /// Returns whether the shape is an edge
37 GEOMALGOAPI_EXPORT virtual bool isDeleted(const std::shared_ptr<GeomAPI_Shape> theShape);
39 GEOMALGOAPI_EXPORT void init(void* theMkShape);
42 std::shared_ptr<GeomAPI_Shape> myShape;