0024750: Replace instantiations of TCollection generic classes by NCollection templat...
[occt.git] / src / ChFiDS / ChFiDS_FaceInterference.lxx
CommitLineData
b311480e 1// Created on: 1993-11-18
2// Created by: Isabelle GRIGNON
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//=======================================================================
18//function : SetInterference
19//purpose :
20//=======================================================================
21
b311480e 22inline void ChFiDS_FaceInterference:: SetInterference
7fd59977 23 (const Standard_Integer LineIndex,
24 const TopAbs_Orientation Trans,
25 const Handle(Geom2d_Curve)& PCurv1,
26 const Handle(Geom2d_Curve)& PCurv2)
27{
28 lineindex = LineIndex;
29 LineTransition = Trans;
30 pCurveOnFace = PCurv1;
31 pCurveOnSurf = PCurv2;
32}
33
34
35//=======================================================================
36//function : SetLineIndex
37//purpose :
38//=======================================================================
39
40 inline void ChFiDS_FaceInterference::SetLineIndex
41 (const Standard_Integer I)
42{
43 lineindex = I;
44}
45
46//=======================================================================
47//function : SetFirstParameter
48//purpose :
49//=======================================================================
50
51 inline void ChFiDS_FaceInterference::SetFirstParameter(
52 const Standard_Real U1)
53{
54 firstParam = U1;
55}
56
57
58//=======================================================================
59//function : SetLastParameter
60//purpose :
61//=======================================================================
62
63 inline void ChFiDS_FaceInterference::SetLastParameter(
64 const Standard_Real U1)
65{
66 lastParam = U1;
67}
68
69
70//=======================================================================
71//function : LineIndex
72//purpose :
73//=======================================================================
74
75 inline Standard_Integer ChFiDS_FaceInterference::LineIndex()const
76{
77 return lineindex;
78}
79
80
81//=======================================================================
82//function : Transition
83//purpose :
84//=======================================================================
85
86 inline TopAbs_Orientation ChFiDS_FaceInterference::Transition()const
87{
88 return LineTransition;
89}
90
91
92//=======================================================================
93//function : PCurveOnFace
94//purpose :
95//=======================================================================
96
97 inline const Handle(Geom2d_Curve)&
98 ChFiDS_FaceInterference::PCurveOnFace()const
99{
100 return pCurveOnFace;
101}
102
103//=======================================================================
104//function : PCurveOnSurf
105//purpose :
106//=======================================================================
107
108 inline const Handle(Geom2d_Curve)& ChFiDS_FaceInterference::PCurveOnSurf()const
109{
110 return pCurveOnSurf;
111}
112
113
114//=======================================================================
115//function : ChangePCurveOnFace
116//purpose :
117//=======================================================================
118
119 inline Handle(Geom2d_Curve)&
120 ChFiDS_FaceInterference::ChangePCurveOnFace()
121{
122 return pCurveOnFace;
123}
124
125//=======================================================================
126//function : ChangePCurveOnSurf
127//purpose :
128//=======================================================================
129
130 inline Handle(Geom2d_Curve)&
131 ChFiDS_FaceInterference::ChangePCurveOnSurf()
132{
133 return pCurveOnSurf;
134}
135
136
137//=======================================================================
138//function : FirstParameter
139//purpose :
140//=======================================================================
141
142 inline Standard_Real ChFiDS_FaceInterference:: FirstParameter()const
143{
144 return firstParam;
145}
146
147
148//=======================================================================
149//function : LastParameter
150//purpose :
151//=======================================================================
152
153 inline Standard_Real ChFiDS_FaceInterference:: LastParameter()const
154{
155 return lastParam;
156}
157
158