1 // Created on: 1996-01-30
2 // Created by: Jacques GOUSSARD
3 // Copyright (c) 1996-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #include <StdFail_NotDone.hxx>
20 //=======================================================================
21 //function : LocOpe_Gluer
23 //=======================================================================
25 inline LocOpe_Gluer::LocOpe_Gluer () :
26 myDone(Standard_False),myOri(TopAbs_INTERNAL),myOpe(LocOpe_INVALID)
30 //=======================================================================
31 //function : LocOpe_Gluer
33 //=======================================================================
35 inline LocOpe_Gluer::LocOpe_Gluer (const TopoDS_Shape& Sbase,
36 const TopoDS_Shape& Snew) :
37 myDone(Standard_False),mySb(Sbase),mySn(Snew),myOri(TopAbs_INTERNAL),myOpe(LocOpe_INVALID)
41 //=======================================================================
44 //=======================================================================
46 inline Standard_Boolean LocOpe_Gluer::IsDone() const
52 //=======================================================================
53 //function : ResultingShape
55 //=======================================================================
57 inline const TopoDS_Shape& LocOpe_Gluer::ResultingShape () const
60 throw StdFail_NotDone();
65 //=======================================================================
66 //function : BasisShape
68 //=======================================================================
70 inline const TopoDS_Shape& LocOpe_Gluer::BasisShape () const
75 //=======================================================================
76 //function : GluedShape
78 //=======================================================================
80 inline const TopoDS_Shape& LocOpe_Gluer::GluedShape () const
85 //=======================================================================
88 //=======================================================================
90 inline LocOpe_Operation LocOpe_Gluer::OpeType() const
96 //=======================================================================
99 //=======================================================================
101 inline const TopTools_ListOfShape& LocOpe_Gluer::Edges() const
107 //=======================================================================
108 //function : TgtEdges
110 //=======================================================================
112 inline const TopTools_ListOfShape& LocOpe_Gluer::TgtEdges() const