1 // File: ChFiDS_SurfData.lxx
2 // Created: Fri Nov 26 17:25:21 1993
3 // Author: Isabelle GRIGNON
7 //=======================================================================
10 //=======================================================================
12 inline Standard_Integer ChFiDS_SurfData::IndexOfS1() const
17 //=======================================================================
18 //function : IsOnCurve1
20 //=======================================================================
22 inline Standard_Boolean ChFiDS_SurfData::IsOnCurve1() const
27 //=======================================================================
28 //function : IndexOfC1
30 //=======================================================================
32 inline Standard_Integer ChFiDS_SurfData::IndexOfC1() const
34 if(!isoncurv1) Standard_Failure::Raise("Interference pas sur courbe");
38 //=======================================================================
39 //function : SetIndexOfC1
41 //=======================================================================
43 inline void ChFiDS_SurfData::SetIndexOfC1(const Standard_Integer Index)
45 indexOfC1 = isoncurv1 = Index;
48 //=======================================================================
49 //function : IndexOfS2
51 //=======================================================================
53 inline Standard_Integer ChFiDS_SurfData::IndexOfS2() const
58 //=======================================================================
59 //function : IsOnCurve2
61 //=======================================================================
63 inline Standard_Boolean ChFiDS_SurfData::IsOnCurve2() const
68 //=======================================================================
69 //function : IndexOfC2
71 //=======================================================================
73 inline Standard_Integer ChFiDS_SurfData::IndexOfC2() const
75 if(!isoncurv2) Standard_Failure::Raise("Interference pas sur courbe");
79 //=======================================================================
80 //function : SetIndexOfC2
82 //=======================================================================
84 inline void ChFiDS_SurfData::SetIndexOfC2(const Standard_Integer Index)
86 indexOfC2 = isoncurv2 = Index;
89 //=======================================================================
92 //=======================================================================
94 inline Standard_Integer ChFiDS_SurfData::Surf()const
99 //=======================================================================
100 //function : Orientation
102 //=======================================================================
104 inline TopAbs_Orientation ChFiDS_SurfData::Orientation()const
109 //=======================================================================
110 //function : InterferenceOnS1
112 //=======================================================================
114 inline const ChFiDS_FaceInterference& ChFiDS_SurfData::InterferenceOnS1()const
120 //=======================================================================
121 //function : InterferenceOnS2
123 //=======================================================================
125 inline const ChFiDS_FaceInterference& ChFiDS_SurfData::InterferenceOnS2()const
131 //=======================================================================
132 //function : VertexFirstOnS1
134 //=======================================================================
136 inline const ChFiDS_CommonPoint& ChFiDS_SurfData::VertexFirstOnS1() const
141 //=======================================================================
142 //function : VertexLastOnS1
144 //=======================================================================
146 inline const ChFiDS_CommonPoint& ChFiDS_SurfData::VertexLastOnS1() const
151 //=======================================================================
152 //function : VertexFirstOnS2
154 //=======================================================================
156 inline const ChFiDS_CommonPoint& ChFiDS_SurfData::VertexFirstOnS2() const
161 //=======================================================================
162 //function : VertexLastOnS2
164 //=======================================================================
166 inline const ChFiDS_CommonPoint& ChFiDS_SurfData::VertexLastOnS2() const
172 //=======================================================================
173 //function : ChangeIndexOfS1
175 //=======================================================================
177 inline void ChFiDS_SurfData::ChangeIndexOfS1(const Standard_Integer Index)
182 //=======================================================================
183 //function : ChangeIndexOfS2
185 //=======================================================================
187 inline void ChFiDS_SurfData::ChangeIndexOfS2(const Standard_Integer Index)
192 //=======================================================================
193 //function : ChangeSurf
195 //=======================================================================
197 inline void ChFiDS_SurfData::ChangeSurf(const Standard_Integer Index)
199 indexOfConge = Index;
203 //=======================================================================
204 //function : ChangeOrientation
206 //=======================================================================
208 inline TopAbs_Orientation& ChFiDS_SurfData::ChangeOrientation()
213 //=======================================================================
214 //function : ChangeInterferenceOnS1
216 //=======================================================================
218 inline ChFiDS_FaceInterference& ChFiDS_SurfData::ChangeInterferenceOnS1()
224 //=======================================================================
225 //function : ChangeInterferenceOnS2
227 //=======================================================================
229 inline ChFiDS_FaceInterference& ChFiDS_SurfData::ChangeInterferenceOnS2()
235 //=======================================================================
236 //function : ChangeVertexFirstOnS1
238 //=======================================================================
240 inline ChFiDS_CommonPoint& ChFiDS_SurfData::ChangeVertexFirstOnS1()
245 //=======================================================================
246 //function : ChangeVertexLastOnS1
248 //=======================================================================
250 inline ChFiDS_CommonPoint& ChFiDS_SurfData::ChangeVertexLastOnS1()
255 //=======================================================================
256 //function : ChangeVertexFirstOnS2
258 //=======================================================================
260 inline ChFiDS_CommonPoint& ChFiDS_SurfData::ChangeVertexFirstOnS2()
265 //=======================================================================
266 //function : ChangeVertexLastOnS2
268 //=======================================================================
270 inline ChFiDS_CommonPoint& ChFiDS_SurfData::ChangeVertexLastOnS2()
275 //=======================================================================
276 //function : IsOnCurve
278 //=======================================================================
280 inline Standard_Boolean ChFiDS_SurfData::IsOnCurve(const Standard_Integer OnS) const
282 if(OnS == 1) return isoncurv1;
286 //=======================================================================
287 //function : IndexOfC
289 //=======================================================================
291 inline Standard_Integer ChFiDS_SurfData::IndexOfC(const Standard_Integer OnS) const
294 if(!isoncurv1) Standard_Failure::Raise("Interference pas sur courbe");
297 if(!isoncurv2) Standard_Failure::Raise("Interference pas sur courbe");
301 //=======================================================================
304 //=======================================================================
306 inline Standard_Boolean ChFiDS_SurfData::TwistOnS1() const
310 inline Standard_Boolean ChFiDS_SurfData::TwistOnS2() const
314 inline void ChFiDS_SurfData::TwistOnS1(const Standard_Boolean T)
318 inline void ChFiDS_SurfData::TwistOnS2(const Standard_Boolean T)