0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / src / TopOpeBRep / TopOpeBRep_VPointInter.lxx
CommitLineData
b311480e 1// Created on: 1993-11-10
2// Created by: Jean Yves LEBEY
3// Copyright (c) 1993-1999 Matra Datavision
973c2be1 4// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5//
973c2be1 6// This file is part of Open CASCADE Technology software library.
b311480e 7//
d5f74e42 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
973c2be1 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.
b311480e 13//
973c2be1 14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
7fd59977 16
17#include <IntPatch_Point.hxx>
18
19
20//=======================================================================
21//function : TopOpeBRep_VPointInter
22//purpose :
23//=======================================================================
24
25inline TopOpeBRep_VPointInter::TopOpeBRep_VPointInter() :
26 myPPOI(NULL),
27 myShapeIndex(0),
28 myState1(TopAbs_UNKNOWN),
29 myState2(TopAbs_UNKNOWN),
30 myKeep(Standard_False),
c24d4017 31 myEdgeONPar1(0.), myEdgeONPar2(0.),
7fd59977 32 myIndex(0),
33 myS1(0),myS2(0)
34{
35}
36
37//=======================================================================
38//function : SetShapes
39//purpose :
40//=======================================================================
41
42inline void TopOpeBRep_VPointInter::SetShapes(const Standard_Integer I1,const Standard_Integer I2)
43{
44 myS1 = I1;
45 myS2 = I2;
46}
47
48//=======================================================================
49//function : GetShapes
50//purpose :
51//=======================================================================
52
53inline void TopOpeBRep_VPointInter::GetShapes(Standard_Integer& I1,Standard_Integer& I2) const
54{
55 I1 = myS1;
56 I2 = myS2;
57}
58
59//=======================================================================
60//function : TransitionOnS1
61//purpose :
62//=======================================================================
63
64inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionOnS1() const
65{
66 return myPPOI->TransitionOnS1();
67}
68
69//=======================================================================
70//function : TransitionOnS2
71//purpose :
72//=======================================================================
73
74inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionOnS2() const
75{
76 return myPPOI->TransitionOnS2();
77}
78
79//=======================================================================
80//function : TransitionLineArc1
81//purpose :
82//=======================================================================
83
84inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionLineArc1() const
85{
86 return myPPOI->TransitionLineArc1();
87}
88
89//=======================================================================
90//function : TransitionLineArc2
91//purpose :
92//=======================================================================
93
94inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionLineArc2() const
95{
96 return myPPOI->TransitionLineArc2();
97}
98
99//=======================================================================
100//function : IsOnDomS1
101//purpose :
102//=======================================================================
103
104inline Standard_Boolean TopOpeBRep_VPointInter::IsOnDomS1() const
105{
106 return myPPOI->IsOnDomS1();
107}
108
109//=======================================================================
110//function : IsOnDomS2
111//purpose :
112//=======================================================================
113
114inline Standard_Boolean TopOpeBRep_VPointInter::IsOnDomS2() const
115{
116 return myPPOI->IsOnDomS2();
117}
118
119//=======================================================================
120//function : ParametersOnS1
121//purpose :
122//=======================================================================
123
124inline void TopOpeBRep_VPointInter::ParametersOnS1(Standard_Real& u, Standard_Real& v) const
125{
126 myPPOI->ParametersOnS1(u,v);
127}
128
129//=======================================================================
130//function : ParametersOnS2
131//purpose :
132//=======================================================================
133
134inline void TopOpeBRep_VPointInter::ParametersOnS2(Standard_Real& u, Standard_Real& v) const
135{
136 myPPOI->ParametersOnS2(u,v);
137}
138
139//=======================================================================
140//function : Value
141//purpose :
142//=======================================================================
143
144inline const gp_Pnt& TopOpeBRep_VPointInter::Value() const
145{
146 return myPPOI->Value();
147}
148
149//=======================================================================
150//function : Tolerance
151//purpose :
152//=======================================================================
153
154inline Standard_Real TopOpeBRep_VPointInter::Tolerance() const
155{
156 return myPPOI->Tolerance();
157}
158
159//=======================================================================
160//function : ParameterOnLine
161//purpose :
162//=======================================================================
163
164inline Standard_Real TopOpeBRep_VPointInter::ParameterOnLine() const
165{
166 return myPPOI->ParameterOnLine();
167}
168
169//=======================================================================
170//function : ParameterOnArc1
171//purpose :
172//=======================================================================
173
174inline Standard_Real TopOpeBRep_VPointInter::ParameterOnArc1() const
175{
176 return myPPOI->ParameterOnArc1();
177}
178
179//=======================================================================
180//function : ParameterOnArc2
181//purpose :
182//=======================================================================
183
184inline Standard_Real TopOpeBRep_VPointInter::ParameterOnArc2() const
185{
186 return myPPOI->ParameterOnArc2();
187}
188
189//=======================================================================
190//function : IsVertexOnS1
191//purpose :
192//=======================================================================
193
194inline Standard_Boolean TopOpeBRep_VPointInter::IsVertexOnS1() const
195{
196 return myPPOI->IsVertexOnS1();
197}
198
199//=======================================================================
200//function : IsVertexOnS2
201//purpose :
202//=======================================================================
203
204inline Standard_Boolean TopOpeBRep_VPointInter::IsVertexOnS2() const
205{
206 return myPPOI->IsVertexOnS2();
207}
208
209//=======================================================================
210//function : IsMultiple
211//purpose :
212//=======================================================================
213
214inline Standard_Boolean TopOpeBRep_VPointInter::IsMultiple() const
215{
216 return myPPOI->IsMultiple();
217}
218
219//=======================================================================
220//function : IsInternal
221//purpose :
222//=======================================================================
223
224inline Standard_Boolean TopOpeBRep_VPointInter::IsInternal() const
225{
226 return Standard_False;
227}
228
229//=======================================================================
230//function : ShapeIndex
231//purpose :
232//=======================================================================
233
234inline Standard_Integer TopOpeBRep_VPointInter::ShapeIndex() const
235{
236 return myShapeIndex;
237}
238
239//=======================================================================
240//function : ShapeIndex
241//purpose :
242//=======================================================================
243
244inline void TopOpeBRep_VPointInter::ShapeIndex(const Standard_Integer I)
245{
246 myShapeIndex = I;
247}
248
249//=======================================================================
250//function : Keep
251//purpose :
252//=======================================================================
253
254inline Standard_Boolean TopOpeBRep_VPointInter::Keep() const
255{
256 return myKeep;
257}
258
259//=======================================================================
260//function : ChangeKeep
261//purpose :
262//=======================================================================
263
264inline void TopOpeBRep_VPointInter::ChangeKeep(const Standard_Boolean keep)
265{
266 myKeep = keep;
267}
268
269//=======================================================================
270//function : Index
271//purpose : trace
272//=======================================================================
273
274inline void TopOpeBRep_VPointInter::Index(const Standard_Integer I)
275{
276 myIndex = I;
277}
278
279//=======================================================================
280//function : Index
281//purpose : trace
282//=======================================================================
283
284inline Standard_Integer TopOpeBRep_VPointInter::Index() const
285{
286 return myIndex;
287}