Warnings on vc14 were eliminated
[occt.git] / src / BOPDS / BOPDS_DS.lxx
CommitLineData
4e57c75e 1// Created by: Peter KURNEV
973c2be1 2// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 3//
973c2be1 4// This file is part of Open CASCADE Technology software library.
b311480e 5//
d5f74e42 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
973c2be1 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.
b311480e 11//
973c2be1 12// Alternatively, this file may be used under the terms of Open CASCADE
13// commercial license or contractual agreement.
b311480e 14
25dfc507 15#include <BOPDS_Pair.hxx>
7fd59977 16//=======================================================================
4e57c75e 17//function : InterfVV
7fd59977 18//purpose :
19//=======================================================================
ceaa5e27 20inline BOPDS_VectorOfInterfVV& BOPDS_DS::InterfVV()
7fd59977 21{
4e57c75e 22 return myInterfVV;
7fd59977 23}
7fd59977 24//=======================================================================
4e57c75e 25//function : InterfVE
7fd59977 26//purpose :
27//=======================================================================
ceaa5e27 28inline BOPDS_VectorOfInterfVE& BOPDS_DS::InterfVE()
7fd59977 29{
4e57c75e 30 return myInterfVE;
7fd59977 31}
7fd59977 32//=======================================================================
4e57c75e 33//function : InterfVF
7fd59977 34//purpose :
35//=======================================================================
ceaa5e27 36inline BOPDS_VectorOfInterfVF& BOPDS_DS::InterfVF()
4e57c75e 37{
38 return myInterfVF;
39}//=======================================================================
40//function : InterfEE
41//purpose :
42//=======================================================================
ceaa5e27 43inline BOPDS_VectorOfInterfEE& BOPDS_DS::InterfEE()
7fd59977 44{
4e57c75e 45 return myInterfEE;
7fd59977 46}
7fd59977 47//=======================================================================
4e57c75e 48//function : InterfEF
7fd59977 49//purpose :
50//=======================================================================
ceaa5e27 51inline BOPDS_VectorOfInterfEF& BOPDS_DS::InterfEF()
7fd59977 52{
4e57c75e 53 return myInterfEF;
7fd59977 54}
7fd59977 55//=======================================================================
4e57c75e 56//function : InterfFF
7fd59977 57//purpose :
58//=======================================================================
ceaa5e27 59inline BOPDS_VectorOfInterfFF& BOPDS_DS::InterfFF()
7fd59977 60{
4e57c75e 61 return myInterfFF;
7fd59977 62}
7fd59977 63//=======================================================================
ceaa5e27 64//function : InterfVZ
65//purpose :
66//=======================================================================
67inline BOPDS_VectorOfInterfVZ& BOPDS_DS::InterfVZ()
68{
69 return myInterfVZ;
70}
71//=======================================================================
72//function : InterfEZ
73//purpose :
74//=======================================================================
75inline BOPDS_VectorOfInterfEZ& BOPDS_DS::InterfEZ()
76{
77 return myInterfEZ;
78}
79//=======================================================================
80//function : InterfFZ
81//purpose :
82//=======================================================================
83inline BOPDS_VectorOfInterfFZ& BOPDS_DS::InterfFZ()
84{
85 return myInterfFZ;
86}
87//=======================================================================
88//function : InterfZZ
89//purpose :
90//=======================================================================
91inline BOPDS_VectorOfInterfZZ& BOPDS_DS::InterfZZ()
92{
93 return myInterfZZ;
94}
95//=======================================================================
96//function : NbInterfTypes
97//purpose :
98//=======================================================================
99inline Standard_Integer BOPDS_DS::NbInterfTypes()
100{
101 return 10;
102}
103//=======================================================================
4e57c75e 104//function : AddInterf
7fd59977 105//purpose :
106//=======================================================================
ceaa5e27 107inline void BOPDS_DS::AddInterf(const Standard_Integer theI1,
b1d15f53 108 const Standard_Integer theI2)
7fd59977 109{
25dfc507 110 BOPDS_Pair aPK(theI1, theI2);
4e57c75e 111 myInterfTB.Add(aPK);
7fd59977 112}
7fd59977 113//=======================================================================
4e57c75e 114//function : HasInterf
7fd59977 115//purpose :
116//=======================================================================
ceaa5e27 117inline Standard_Boolean BOPDS_DS::HasInterf
118 (const Standard_Integer theI1,
119 const Standard_Integer theI2)const
7fd59977 120{
25dfc507 121 BOPDS_Pair aPK(theI1, theI2);
4e57c75e 122 return myInterfTB.Contains(aPK);
7fd59977 123}
7fd59977 124//=======================================================================
4e57c75e 125//function : Interferences
7fd59977 126//purpose :
127//=======================================================================
25dfc507 128inline const BOPDS_MapOfPair& BOPDS_DS::Interferences()const
7fd59977 129{
4e57c75e 130 return myInterfTB;
7fd59977 131}