Salome HOME
This commit was generated by cvs2git to create tag 'TRIPOLI_323'.
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_SolidSolid.hxx
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22
23 // File:        GEOMAlgo_SolidSolid.hxx
24 // Created:     Wed Jan 26 12:06:26 2005
25 // Author:      Peter KURNEV
26 //              <pkv@irinox>
27 //
28 #ifndef _GEOMAlgo_SolidSolid_HeaderFile
29 #define _GEOMAlgo_SolidSolid_HeaderFile
30
31 #include <Standard.hxx>
32 #include <Standard_Macro.hxx>
33 #include <TopoDS_Shape.hxx>
34 #include <GEOMAlgo_ShellSolid.hxx>
35
36 //=======================================================================
37 //function : GEOMAlgo_SolidSolid
38 //purpose  :
39 //=======================================================================
40 class GEOMAlgo_SolidSolid  : public GEOMAlgo_ShellSolid
41 {
42  public:
43   Standard_EXPORT
44     GEOMAlgo_SolidSolid();
45
46   Standard_EXPORT
47     virtual ~GEOMAlgo_SolidSolid();
48
49   Standard_EXPORT
50     virtual  void Perform() ;
51
52   Standard_EXPORT
53     void SetShape2(const TopoDS_Shape& aS) ;
54
55   Standard_EXPORT
56     const TopoDS_Shape& Shape2() const;
57
58 protected:
59   Standard_EXPORT
60     virtual  void BuildResult() ;
61
62
63   TopoDS_Shape myS2;
64 };
65 #endif