geom/src/NMTTools/NMTTools_CoupleOfShape.cxx

65 lines
2.3 KiB
C++

// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License.
//
// This library is distributed in the hope that it will be useful
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// File: NMTTools_CoupleOfShape.cxx
// Created: Wed Jan 28 15:06:11 2004
// Author: Peter KURNEV
// <pkv@irinox>
#include <NMTTools_CoupleOfShape.ixx>
//=======================================================================
// function: NMTTools_CoupleOfShape::NMTTools_CoupleOfShape
// purpose:
//=======================================================================
NMTTools_CoupleOfShape::NMTTools_CoupleOfShape()
{}
//=======================================================================
// function: SetShape1
// purpose:
//=======================================================================
void NMTTools_CoupleOfShape::SetShape1(const TopoDS_Shape& aS)
{
myShape1=aS;
}
//=======================================================================
// function: SetShape2
// purpose:
//=======================================================================
void NMTTools_CoupleOfShape::SetShape2(const TopoDS_Shape& aS)
{
myShape2=aS;
}
//=======================================================================
// function: Shape1
// purpose:
//=======================================================================
const TopoDS_Shape& NMTTools_CoupleOfShape::Shape1()const
{
return myShape1;
}
//=======================================================================
// function: Shape2
// purpose:
//=======================================================================
const TopoDS_Shape& NMTTools_CoupleOfShape::Shape2()const
{
return myShape2;
}