1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomAlgoAPI_CompoundBuilder.h
4 // Created: 24 Apr 2014
5 // Author: Natalia ERMOLAEVA
7 #ifndef GeomAlgoAPI_CompoundBuilder_H_
8 #define GeomAlgoAPI_CompoundBuilder_H_
10 #include <GeomAlgoAPI.h>
11 #include <GeomAPI_Shape.h>
12 #include <GeomAPI_Pnt.h>
13 #include <GeomAPI_Dir.h>
18 /**\class GeomAlgoAPI_CompoundBuilder
20 * \brief Allows to create face-shapes by different parameters
23 class GEOMALGOAPI_EXPORT GeomAlgoAPI_CompoundBuilder
26 /// Creates compund of the given shapes
27 /// \param theShapes a list of shapes
28 static std::shared_ptr<GeomAPI_Shape> compound(
29 std::list<std::shared_ptr<GeomAPI_Shape> > theShapes);
31 /// Produces the integerr identifier of the shape theSub in theContext (needed for
32 /// groups export to old GEOM)
33 /// \returns zero if theSub not found in theContext
35 std::shared_ptr<GeomAPI_Shape> theContext, std::shared_ptr<GeomAPI_Shape> theSub);