b311480e |
1 | // Created on: 1993-02-19 |
2 | // Created by: Remi LEQUETTE |
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 | |
7fd59977 |
21 | |
22 | //======================================================================= |
23 | //function : FirstUParameter |
24 | //purpose : |
25 | //======================================================================= |
26 | |
27 | inline Standard_Real BRepAdaptor_Surface::FirstUParameter() const |
28 | { |
29 | return mySurf.FirstUParameter(); |
30 | } |
31 | |
32 | //======================================================================= |
33 | //function : LastUParameter |
34 | //purpose : |
35 | //======================================================================= |
36 | |
37 | inline Standard_Real BRepAdaptor_Surface::LastUParameter() const |
38 | { |
39 | return mySurf.LastUParameter(); |
40 | } |
41 | |
42 | //======================================================================= |
43 | //function : FirstVParameter |
44 | //purpose : |
45 | //======================================================================= |
46 | |
47 | inline Standard_Real BRepAdaptor_Surface::FirstVParameter() const |
48 | { |
49 | return mySurf.FirstVParameter(); |
50 | } |
51 | |
52 | //======================================================================= |
53 | //function : LastVParameter |
54 | //purpose : |
55 | //======================================================================= |
56 | |
57 | inline Standard_Real BRepAdaptor_Surface::LastVParameter() const |
58 | { |
59 | return mySurf.LastVParameter(); |
60 | } |
61 | |
62 | //======================================================================= |
63 | //function : UContinuity |
64 | //purpose : |
65 | //======================================================================= |
66 | |
67 | inline GeomAbs_Shape BRepAdaptor_Surface::UContinuity() const |
68 | { |
69 | return mySurf.UContinuity(); |
70 | } |
71 | |
72 | //======================================================================= |
73 | //function : VContinuity |
74 | //purpose : |
75 | //======================================================================= |
76 | |
77 | inline GeomAbs_Shape BRepAdaptor_Surface::VContinuity() const |
78 | { |
79 | return mySurf.VContinuity(); |
80 | } |
81 | |
82 | //======================================================================= |
83 | //function : NbUIntervals |
84 | //purpose : |
85 | //======================================================================= |
86 | |
87 | inline Standard_Integer BRepAdaptor_Surface::NbUIntervals |
88 | (const GeomAbs_Shape S) const |
89 | { |
90 | return mySurf.NbUIntervals(S); |
91 | } |
92 | |
93 | //======================================================================= |
94 | //function : NbVIntervals |
95 | //purpose : |
96 | //======================================================================= |
97 | |
98 | inline Standard_Integer BRepAdaptor_Surface::NbVIntervals |
99 | (const GeomAbs_Shape S) const |
100 | { |
101 | return mySurf.NbVIntervals(S); |
102 | } |
103 | |
104 | //======================================================================= |
105 | //function : IsUClosed |
106 | //purpose : |
107 | //======================================================================= |
108 | |
109 | inline Standard_Boolean BRepAdaptor_Surface::IsUClosed()const |
110 | { |
111 | return mySurf.IsUClosed(); |
112 | } |
113 | |
114 | //======================================================================= |
115 | //function : IsVClosed |
116 | //purpose : |
117 | //======================================================================= |
118 | |
119 | inline Standard_Boolean BRepAdaptor_Surface::IsVClosed()const |
120 | { |
121 | return mySurf.IsVClosed(); |
122 | } |
123 | |
124 | //======================================================================= |
125 | //function : IsUPeriodic |
126 | //purpose : |
127 | //======================================================================= |
128 | |
129 | inline Standard_Boolean BRepAdaptor_Surface::IsUPeriodic()const |
130 | { |
131 | return mySurf.IsUPeriodic(); |
132 | } |
133 | |
134 | //======================================================================= |
135 | //function : UPeriod |
136 | //purpose : |
137 | //======================================================================= |
138 | |
139 | inline Standard_Real BRepAdaptor_Surface::UPeriod()const |
140 | { |
141 | return mySurf.UPeriod(); |
142 | } |
143 | |
144 | //======================================================================= |
145 | //function : IsVPeriodic |
146 | //purpose : |
147 | //======================================================================= |
148 | |
149 | inline Standard_Boolean BRepAdaptor_Surface::IsVPeriodic()const |
150 | { |
151 | return mySurf.IsVPeriodic(); |
152 | } |
153 | |
154 | //======================================================================= |
155 | //function : VPeriod |
156 | //purpose : |
157 | //======================================================================= |
158 | |
159 | inline Standard_Real BRepAdaptor_Surface::VPeriod()const |
160 | { |
161 | return mySurf.VPeriod(); |
162 | } |
163 | |
164 | //======================================================================= |
165 | //function : UResolution |
166 | //purpose : |
167 | //======================================================================= |
168 | |
169 | inline Standard_Real BRepAdaptor_Surface::UResolution(const Standard_Real R3d)const |
170 | { |
171 | return mySurf.UResolution(R3d); |
172 | } |
173 | |
174 | //======================================================================= |
175 | //function : VResolution |
176 | //purpose : |
177 | //======================================================================= |
178 | |
179 | inline Standard_Real BRepAdaptor_Surface::VResolution(const Standard_Real R3d)const |
180 | { |
181 | return mySurf.VResolution(R3d); |
182 | } |
183 | |
184 | //======================================================================= |
185 | //function : GetType |
186 | //purpose : |
187 | //======================================================================= |
188 | |
189 | inline GeomAbs_SurfaceType BRepAdaptor_Surface::GetType()const |
190 | { |
191 | return mySurf.GetType(); |
192 | } |
193 | //======================================================================= |
194 | //function : UDegree |
195 | //purpose : |
196 | //======================================================================= |
197 | |
198 | inline Standard_Integer BRepAdaptor_Surface::UDegree()const |
199 | { |
200 | return mySurf.UDegree(); |
201 | } |
202 | |
203 | |
204 | //======================================================================= |
205 | //function : NbUPoles |
206 | //purpose : |
207 | //======================================================================= |
208 | |
209 | inline Standard_Integer BRepAdaptor_Surface::NbUPoles()const |
210 | { |
211 | return mySurf.NbUPoles(); |
212 | } |
213 | |
214 | //======================================================================= |
215 | //function : VDegree |
216 | //purpose : |
217 | //======================================================================= |
218 | |
219 | inline Standard_Integer BRepAdaptor_Surface::VDegree()const |
220 | { |
221 | return mySurf.VDegree(); |
222 | } |
223 | |
224 | |
225 | //======================================================================= |
226 | //function : NbVPoles |
227 | //purpose : |
228 | //======================================================================= |
229 | |
230 | inline Standard_Integer BRepAdaptor_Surface::NbVPoles()const |
231 | { |
232 | return mySurf.NbVPoles(); |
233 | } |
234 | |
235 | //======================================================================= |
236 | //function : NbUKnots |
237 | //purpose : |
238 | //======================================================================= |
239 | |
240 | inline Standard_Integer BRepAdaptor_Surface::NbUKnots()const |
241 | { |
242 | return mySurf.NbUKnots(); |
243 | } |
244 | |
245 | |
246 | |
247 | //======================================================================= |
248 | //function : NbVKnots |
249 | //purpose : |
250 | //======================================================================= |
251 | |
252 | inline Standard_Integer BRepAdaptor_Surface::NbVKnots()const |
253 | { |
254 | return mySurf.NbVKnots(); |
255 | } |
256 | |
257 | |
258 | //======================================================================= |
259 | //function : IsURational |
260 | //purpose : |
261 | //======================================================================= |
262 | |
263 | inline Standard_Boolean BRepAdaptor_Surface::IsURational()const |
264 | { |
265 | return mySurf.IsURational(); |
266 | } |
267 | |
268 | //======================================================================= |
269 | //function : IsVRational |
270 | //purpose : |
271 | //======================================================================= |
272 | |
273 | inline Standard_Boolean BRepAdaptor_Surface::IsVRational()const |
274 | { |
275 | return mySurf.IsVRational(); |
276 | } |
277 | |