0023024: Update headers of OCCT files
[occt.git] / src / ChFiDS / ChFiDS_FaceInterference.lxx
1 // Created on: 1993-11-18
2 // Created by: Isabelle GRIGNON
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2012 OPEN CASCADE SAS
5 //
6 // The content of this file is subject to the Open CASCADE Technology Public
7 // License Version 6.5 (the "License"). You may not use the content of this file
8 // except in compliance with the License. Please obtain a copy of the License
9 // at http://www.opencascade.org and read it completely before using this file.
10 //
11 // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 //
14 // The Original Code and all software distributed under the License is
15 // distributed on an "AS IS" basis, without warranty of any kind, and the
16 // Initial Developer hereby disclaims all such warranties, including without
17 // limitation, any warranties of merchantability, fitness for a particular
18 // purpose or non-infringement. Please see the License for the specific terms
19 // and conditions governing the rights and limitations under the License.
20
21
22 //=======================================================================
23 //function : SetInterference
24 //purpose  : 
25 //=======================================================================
26
27 inline void ChFiDS_FaceInterference:: SetInterference
28   (const Standard_Integer LineIndex,
29    const TopAbs_Orientation Trans, 
30    const Handle(Geom2d_Curve)& PCurv1,
31    const Handle(Geom2d_Curve)& PCurv2)
32 {
33   lineindex = LineIndex;
34   LineTransition = Trans;
35   pCurveOnFace = PCurv1;
36   pCurveOnSurf = PCurv2;
37 }
38
39
40 //=======================================================================
41 //function : SetLineIndex
42 //purpose  : 
43 //=======================================================================
44
45   inline void ChFiDS_FaceInterference::SetLineIndex
46   (const Standard_Integer I)
47 {
48   lineindex = I;
49 }
50
51 //=======================================================================
52 //function : SetFirstParameter
53 //purpose  : 
54 //=======================================================================
55
56  inline void  ChFiDS_FaceInterference::SetFirstParameter(
57                                       const Standard_Real U1)
58 {
59   firstParam = U1;
60 }
61
62
63 //=======================================================================
64 //function : SetLastParameter
65 //purpose  : 
66 //=======================================================================
67
68  inline void  ChFiDS_FaceInterference::SetLastParameter(
69                                         const Standard_Real U1)
70 {
71   lastParam = U1;
72 }
73
74
75 //=======================================================================
76 //function : LineIndex
77 //purpose  : 
78 //=======================================================================
79
80  inline Standard_Integer ChFiDS_FaceInterference::LineIndex()const 
81 {
82   return lineindex;
83 }
84
85
86 //=======================================================================
87 //function : Transition
88 //purpose  : 
89 //=======================================================================
90
91  inline TopAbs_Orientation  ChFiDS_FaceInterference::Transition()const 
92 {
93   return LineTransition;
94 }
95
96
97 //=======================================================================
98 //function : PCurveOnFace
99 //purpose  : 
100 //=======================================================================
101
102  inline const Handle(Geom2d_Curve)&  
103   ChFiDS_FaceInterference::PCurveOnFace()const 
104 {
105   return pCurveOnFace;
106 }
107
108 //=======================================================================
109 //function : PCurveOnSurf
110 //purpose  : 
111 //=======================================================================
112
113  inline const Handle(Geom2d_Curve)&  ChFiDS_FaceInterference::PCurveOnSurf()const 
114 {
115   return pCurveOnSurf;
116 }
117
118
119 //=======================================================================
120 //function : ChangePCurveOnFace
121 //purpose  : 
122 //=======================================================================
123
124  inline Handle(Geom2d_Curve)&  
125   ChFiDS_FaceInterference::ChangePCurveOnFace() 
126 {
127   return pCurveOnFace;
128 }
129
130 //=======================================================================
131 //function : ChangePCurveOnSurf
132 //purpose  : 
133 //=======================================================================
134
135  inline Handle(Geom2d_Curve)&  
136   ChFiDS_FaceInterference::ChangePCurveOnSurf()
137 {
138   return pCurveOnSurf;
139 }
140
141
142 //=======================================================================
143 //function : FirstParameter
144 //purpose  : 
145 //=======================================================================
146
147  inline  Standard_Real ChFiDS_FaceInterference:: FirstParameter()const 
148 {
149   return firstParam;
150 }
151
152
153 //=======================================================================
154 //function : LastParameter
155 //purpose  : 
156 //=======================================================================
157
158  inline  Standard_Real  ChFiDS_FaceInterference:: LastParameter()const 
159 {
160   return lastParam;
161 }
162
163