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