/src/contrib/geom-5.1.2.7/src/NMTTools/NMTTools_CoupleOfShape.cpp
http://pythonocc.googlecode.com/ · C++ · 66 lines · 19 code · 1 blank · 46 comment · 0 complexity · 2c033435dd87cd29278de6f6c48bdd54 MD5 · raw file
- // Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
- //
- // Copyright (C) 2003-2007 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;
- }