Salome HOME
This commit was generated by cvs2git to create tag 'TRIPOLI_323'.
[modules/geom.git] / src / NMTTools / NMTTools_CoupleOfShape.cxx
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:        NMTTools_CoupleOfShape.cxx
24 // Created:     Wed Jan 28 15:06:11 2004
25 // Author:      Peter KURNEV
26 //              <pkv@irinox>
27 //
28 #include <NMTTools_CoupleOfShape.hxx>
29
30 //=======================================================================
31 // function: NMTTools_CoupleOfShape::NMTTools_CoupleOfShape
32 // purpose:
33 //=======================================================================
34   NMTTools_CoupleOfShape::NMTTools_CoupleOfShape()
35 {}
36 //=======================================================================
37 // function: SetShape1
38 // purpose:
39 //=======================================================================
40   void NMTTools_CoupleOfShape::SetShape1(const TopoDS_Shape& aS)
41 {
42   myShape1=aS;
43 }
44 //=======================================================================
45 // function: SetShape2
46 // purpose:
47 //=======================================================================
48   void NMTTools_CoupleOfShape::SetShape2(const TopoDS_Shape& aS)
49 {
50   myShape2=aS;
51 }
52 //=======================================================================
53 // function: Shape1
54 // purpose:
55 //=======================================================================
56   const TopoDS_Shape& NMTTools_CoupleOfShape::Shape1()const
57 {
58   return myShape1;
59 }
60 //=======================================================================
61 // function: Shape2
62 // purpose:
63 //=======================================================================
64   const TopoDS_Shape& NMTTools_CoupleOfShape::Shape2()const
65 {
66   return myShape2;
67 }