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