Salome HOME
Fixed naming; Fixed UnitTestBox.py
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Intersection.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        GeomAlgoAPI_Intersection.h
4 // Created:     16 Feb 2016
5 // Author:      Dmitry Bobylev
6
7 #ifndef GeomAlgoAPI_Intersection_H_
8 #define GeomAlgoAPI_Intersection_H_
9
10 #include <GeomAlgoAPI.h>
11 #include <GeomAlgoAPI_MakeShape.h>
12
13 #include <GeomAPI_Shape.h>
14
15 /// \class GeomAlgoAPI_Intersection
16 /// \ingroup DataAlgo
17 /// \brief Performs the intersection operations.
18 class GeomAlgoAPI_Intersection : public GeomAlgoAPI_MakeShape
19 {
20 public:
21   /// \brief Constructor.
22   /// \param[in] theObjects list of objects.
23   /// \param[in] theTools list of tools.
24   GEOMALGOAPI_EXPORT GeomAlgoAPI_Intersection(const ListOfShape& theObjects,
25                                               const ListOfShape& theTools);
26
27 private:
28   /// Builds resulting shape.
29   void build(const ListOfShape& theObjects,
30              const ListOfShape& theTools);
31 };
32
33 #endif