1 // Created by: Peter KURNEV
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
4 // This file is part of Open CASCADE Technology software library.
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
15 #include <BOPDS_PassKey.hxx>
16 //=======================================================================
19 //=======================================================================
20 inline BOPDS_VectorOfInterfVV& BOPDS_DS::InterfVV()
24 //=======================================================================
27 //=======================================================================
28 inline BOPDS_VectorOfInterfVE& BOPDS_DS::InterfVE()
32 //=======================================================================
35 //=======================================================================
36 inline BOPDS_VectorOfInterfVF& BOPDS_DS::InterfVF()
39 }//=======================================================================
42 //=======================================================================
43 inline BOPDS_VectorOfInterfEE& BOPDS_DS::InterfEE()
47 //=======================================================================
50 //=======================================================================
51 inline BOPDS_VectorOfInterfEF& BOPDS_DS::InterfEF()
55 //=======================================================================
58 //=======================================================================
59 inline BOPDS_VectorOfInterfFF& BOPDS_DS::InterfFF()
63 //=======================================================================
66 //=======================================================================
67 inline BOPDS_VectorOfInterfVZ& BOPDS_DS::InterfVZ()
71 //=======================================================================
74 //=======================================================================
75 inline BOPDS_VectorOfInterfEZ& BOPDS_DS::InterfEZ()
79 //=======================================================================
82 //=======================================================================
83 inline BOPDS_VectorOfInterfFZ& BOPDS_DS::InterfFZ()
87 //=======================================================================
90 //=======================================================================
91 inline BOPDS_VectorOfInterfZZ& BOPDS_DS::InterfZZ()
95 //=======================================================================
96 //function : NbInterfTypes
98 //=======================================================================
99 inline Standard_Integer BOPDS_DS::NbInterfTypes()
103 //=======================================================================
104 //function : AddInterf
106 //=======================================================================
107 inline void BOPDS_DS::AddInterf(const Standard_Integer theI1,
108 const Standard_Integer theI2)
112 aPK.SetIds(theI1, theI2);
115 //=======================================================================
116 //function : HasInterf
118 //=======================================================================
119 inline Standard_Boolean BOPDS_DS::HasInterf
120 (const Standard_Integer theI1,
121 const Standard_Integer theI2)const
125 aPK.SetIds(theI1, theI2);
126 return myInterfTB.Contains(aPK);
128 //=======================================================================
129 //function : Interferences
131 //=======================================================================
132 inline const BOPDS_MapOfPassKey& BOPDS_DS::Interferences()const