Salome HOME
This commit was generated by cvs2git to create tag 'TRIPOLI_323'.
[modules/geom.git] / src / NMTTools / NMTTools_FaceInfo.lxx
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 // File:        NMTTools_FaceInfo.lxx
23 // Created:     Tue Dec  9 12:23:29 2003
24 // Author:      Peter KURNEV
25 //              <pkv@irinox>
26 //
27
28 //=======================================================================
29 //function :
30 //purpose  :
31 //=======================================================================
32 inline NMTTools_FaceInfo::NMTTools_FaceInfo()
33 :
34   myIndex(-1)
35 {
36 }
37 //=======================================================================
38 //function : ~
39 //purpose  :
40 //=======================================================================
41 inline NMTTools_FaceInfo::~NMTTools_FaceInfo()
42 {
43   Clear();
44 }
45 //=======================================================================
46 //function : Clear
47 //purpose  :
48 //=======================================================================
49 inline void NMTTools_FaceInfo::Clear()
50 {
51   myIndex=-1;
52   myPaveBlocksIn.Clear();
53   myVerticesIn.Clear();
54   myPaveBlocksOn.Clear();
55   myVerticesOn.Clear();
56 }
57 //=======================================================================
58 //function : SetIndex
59 //purpose  :
60 //=======================================================================
61   inline void NMTTools_FaceInfo::SetIndex(const Standard_Integer theI)
62 {
63   myIndex=theI;
64 }
65 //=======================================================================
66 //function : Index
67 //purpose  :
68 //=======================================================================
69   inline Standard_Integer NMTTools_FaceInfo::Index()const
70 {
71   return myIndex;
72 }
73 //=======================================================================
74 //function : PaveBlockIn
75 //purpose  :
76 //=======================================================================
77   inline const NMTTools_MapOfPaveBlock& NMTTools_FaceInfo::PaveBlocksIn()const
78 {
79   return myPaveBlocksIn;
80 }
81 //=======================================================================
82 //function : ChangePaveBlocksIn
83 //purpose  :
84 //=======================================================================
85   inline NMTTools_MapOfPaveBlock& NMTTools_FaceInfo::ChangePaveBlocksIn()
86 {
87   return myPaveBlocksIn;
88 }
89 //=======================================================================
90 //function : VerticesIn
91 //purpose  :
92 //=======================================================================
93   inline const TColStd_MapOfInteger& NMTTools_FaceInfo::VerticesIn()const
94 {
95   return myVerticesIn;
96 }
97 //=======================================================================
98 //function : ChangeVerticesIn
99 //purpose  :
100 //=======================================================================
101   inline  TColStd_MapOfInteger& NMTTools_FaceInfo::ChangeVerticesIn()
102 {
103   return myVerticesIn;
104 }
105 //=======================================================================
106 //function : PaveBlockOn
107 //purpose  :
108 //=======================================================================
109   inline const NMTTools_MapOfPaveBlock& NMTTools_FaceInfo::PaveBlocksOn()const
110 {
111   return myPaveBlocksOn;
112 }
113 //=======================================================================
114 //function : ChangePaveBlocksOn
115 //purpose  :
116 //=======================================================================
117   inline NMTTools_MapOfPaveBlock& NMTTools_FaceInfo::ChangePaveBlocksOn()
118 {
119   return myPaveBlocksOn;
120 }
121 //=======================================================================
122 //function : VerticesOn
123 //purpose  :
124 //=======================================================================
125   inline const TColStd_MapOfInteger& NMTTools_FaceInfo::VerticesOn()const
126 {
127   return myVerticesOn;
128 }
129 //=======================================================================
130 //function : ChangeVerticesOn
131 //purpose  :
132 //=======================================================================
133   inline  TColStd_MapOfInteger& NMTTools_FaceInfo::ChangeVerticesOn()
134 {
135   return myVerticesOn;
136 }