Warning, /include/opencascade/BRepFeat_Gluer.lxx is written in an unsupported language. File is not indexed.
0001 // Created on: 1996-03-08
0002 // Created by: Jacques GOUSSARD
0003 // Copyright (c) 1996-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016
0017 //=======================================================================
0018 //function : BRepFeat_Gluer
0019 //purpose :
0020 //=======================================================================
0021
0022 inline BRepFeat_Gluer::BRepFeat_Gluer ()
0023 {}
0024
0025
0026 //=======================================================================
0027 //function : BRepFeat_Gluer
0028 //purpose :
0029 //=======================================================================
0030
0031 inline BRepFeat_Gluer::BRepFeat_Gluer (const TopoDS_Shape& Snew,
0032 const TopoDS_Shape& Sbase) :
0033 myGluer(Sbase,Snew) // Attention a l`inversion
0034 {}
0035
0036
0037 //=======================================================================
0038 //function : Init
0039 //purpose :
0040 //=======================================================================
0041
0042 inline void BRepFeat_Gluer::Init(const TopoDS_Shape& Snew,
0043 const TopoDS_Shape& Sbase)
0044 {
0045 myGluer.Init(Sbase,Snew);
0046 }
0047
0048
0049 //=======================================================================
0050 //function : Bind
0051 //purpose :
0052 //=======================================================================
0053
0054 inline void BRepFeat_Gluer::Bind(const TopoDS_Face& Fnew,
0055 const TopoDS_Face& Fbase)
0056 {
0057 myGluer.Bind(Fnew,Fbase);
0058 }
0059
0060
0061 //=======================================================================
0062 //function : Bind
0063 //purpose :
0064 //=======================================================================
0065
0066 inline void BRepFeat_Gluer::Bind(const TopoDS_Edge& Enew,
0067 const TopoDS_Edge& Ebase)
0068 {
0069 myGluer.Bind(Enew,Ebase);
0070 }
0071
0072
0073 //=======================================================================
0074 //function : OpeType
0075 //purpose :
0076 //=======================================================================
0077
0078 inline LocOpe_Operation BRepFeat_Gluer::OpeType() const
0079 {
0080 return myGluer.OpeType();
0081 }
0082
0083
0084 //=======================================================================
0085 //function : BasisShape
0086 //purpose :
0087 //=======================================================================
0088
0089 inline const TopoDS_Shape& BRepFeat_Gluer::BasisShape() const
0090 {
0091 return myGluer.BasisShape();
0092 }
0093
0094
0095 //=======================================================================
0096 //function : GluedShape
0097 //purpose :
0098 //=======================================================================
0099
0100 inline const TopoDS_Shape& BRepFeat_Gluer::GluedShape() const
0101 {
0102 return myGluer.GluedShape();
0103 }
0104
0105