1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomAlgoAPI_Sewing.h
4 // Created: 25 April 2016
5 // Author: Dmitry Bobylev
7 #ifndef GeomAlgoAPI_Sewing_H_
8 #define GeomAlgoAPI_Sewing_H_
10 #include "GeomAlgoAPI.h"
11 #include "GeomAlgoAPI_MakeShape.h"
13 #include <GeomAPI_Shape.h>
15 /// \class GeomAlgoAPI_Sewing
17 /// \brief Allows creation of connected topology (shells) from a set of separate topological elements (faces).
18 class GeomAlgoAPI_Sewing : public GeomAlgoAPI_MakeShape
22 GEOMALGOAPI_EXPORT GeomAlgoAPI_Sewing(const ListOfShape& theShapes);
24 /// \return the list of shapes modified from the shape \a theShape.
25 /// \param[in] theShape base shape.
26 /// \param[out] theHistory modified shapes.
27 GEOMALGOAPI_EXPORT virtual void modified(const std::shared_ptr<GeomAPI_Shape> theShape,
28 ListOfShape& theHistory);
31 /// Builds resulting shape.
32 void build(const ListOfShape& theShapes);