Salome HOME
Mantis issues 0020573 and 0020603: Partition problems. A fix by Peter KURNEV.
[modules/geom.git] / src / NMTTools / NMTTools_CoupleOfShape.cxx
1 //  Copyright (C) 2007-2008  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 // File:        NMTTools_CoupleOfShape.cxx
23 // Created:     Wed Jan 28 15:06:11 2004
24 // Author:      Peter KURNEV
25 //              <pkv@irinox>
26 //
27 #include <NMTTools_CoupleOfShape.ixx>
28
29 //=======================================================================
30 // function: NMTTools_CoupleOfShape::NMTTools_CoupleOfShape
31 // purpose: 
32 //=======================================================================
33   NMTTools_CoupleOfShape::NMTTools_CoupleOfShape()
34 {}
35 //=======================================================================
36 // function: SetShape1
37 // purpose: 
38 //=======================================================================
39   void NMTTools_CoupleOfShape::SetShape1(const TopoDS_Shape& aS)
40 {
41   myShape1=aS;
42 }
43 //=======================================================================
44 // function: SetShape2
45 // purpose: 
46 //=======================================================================
47   void NMTTools_CoupleOfShape::SetShape2(const TopoDS_Shape& aS)
48 {
49   myShape2=aS;
50 }
51 //=======================================================================
52 // function: Shape1
53 // purpose: 
54 //=======================================================================
55   const TopoDS_Shape& NMTTools_CoupleOfShape::Shape1()const
56 {
57   return myShape1;
58 }
59 //=======================================================================
60 // function: Shape2
61 // purpose: 
62 //=======================================================================
63   const TopoDS_Shape& NMTTools_CoupleOfShape::Shape2()const
64 {
65   return myShape2;
66 }