Integration of OCCT 6.5.0 from SVN
[occt.git] / src / Adaptor3d / Adaptor3d_HCurve.lxx
1
2 #include <Adaptor3d_Curve.hxx>
3
4 //=======================================================================
5 //function : FirstParameter
6 //purpose  : 
7 //=======================================================================
8
9  inline Standard_Real Adaptor3d_HCurve::FirstParameter() const 
10 {
11   return Curve().FirstParameter();
12 }
13
14 //=======================================================================
15 //function : LastParameter
16 //purpose  : 
17 //=======================================================================
18
19  inline Standard_Real Adaptor3d_HCurve::LastParameter() const 
20 {
21   return Curve().LastParameter();
22 }
23
24 //=======================================================================
25 //function : Continuity
26 //purpose  : 
27 //=======================================================================
28
29  inline GeomAbs_Shape Adaptor3d_HCurve::Continuity() const 
30 {
31   return Curve().Continuity();
32 }
33
34 //=======================================================================
35 //function : NbIntervals
36 //purpose  : 
37 //=======================================================================
38
39  inline Standard_Integer Adaptor3d_HCurve::NbIntervals(const GeomAbs_Shape S)  
40 {
41   return GetCurve().NbIntervals(S);
42 }
43
44 //=======================================================================
45 //function : Intervals
46 //purpose  : 
47 //=======================================================================
48
49  inline void Adaptor3d_HCurve::Intervals(TColStd_Array1OfReal& T,
50                                        const GeomAbs_Shape S)  
51 {
52   GetCurve().Intervals(T,S);
53 }
54
55 //=======================================================================
56 //function : Trim
57 //purpose  : 
58 //=======================================================================
59
60  inline Handle(Adaptor3d_HCurve) Adaptor3d_HCurve::Trim
61  (const Standard_Real First,
62   const Standard_Real Last,
63   const Standard_Real Tol) const 
64 {
65   return Curve().Trim(First,Last,Tol);
66 }
67
68 //=======================================================================
69 //function : IsClosed
70 //purpose  : 
71 //=======================================================================
72
73  inline Standard_Boolean Adaptor3d_HCurve::IsClosed() const 
74 {
75   return Curve().IsClosed();
76 }
77
78 //=======================================================================
79 //function : IsPeriodic
80 //purpose  : 
81 //=======================================================================
82
83  inline Standard_Boolean Adaptor3d_HCurve::IsPeriodic() const 
84 {
85   return Curve().IsPeriodic();
86 }
87
88 //=======================================================================
89 //function : Period
90 //purpose  : 
91 //=======================================================================
92
93  inline Standard_Real Adaptor3d_HCurve::Period() const 
94 {
95   return Curve().Period();
96 }
97
98 //=======================================================================
99 //function : Value
100 //purpose  : 
101 //=======================================================================
102
103  inline gp_Pnt Adaptor3d_HCurve::Value(const Standard_Real U) const 
104 {
105   return Curve().Value(U);
106 }
107
108 //=======================================================================
109 //function : D0
110 //purpose  : 
111 //=======================================================================
112
113  inline void Adaptor3d_HCurve::D0(const Standard_Real U, gp_Pnt& P) const 
114 {
115   Curve().D0(U,P);
116 }
117
118 //=======================================================================
119 //function : D1
120 //purpose  : 
121 //=======================================================================
122
123  inline void Adaptor3d_HCurve::D1(const Standard_Real U, gp_Pnt& P, gp_Vec& V) const 
124 {
125   Curve().D1(U,P,V);
126 }
127
128 //=======================================================================
129 //function : D2
130 //purpose  : 
131 //=======================================================================
132
133  inline void Adaptor3d_HCurve::D2(const Standard_Real U, gp_Pnt& P, gp_Vec& V1, gp_Vec& V2) const 
134 {
135   Curve().D2(U,P,V1,V2);
136 }
137
138 //=======================================================================
139 //function : D3
140 //purpose  : 
141 //=======================================================================
142
143  inline void Adaptor3d_HCurve::D3(const Standard_Real U, gp_Pnt& P, gp_Vec& V1, gp_Vec& V2, gp_Vec& V3) const 
144 {
145   Curve().D3(U,P,V1,V2,V3);
146 }
147
148 //=======================================================================
149 //function : DN
150 //purpose  : 
151 //=======================================================================
152
153  inline gp_Vec Adaptor3d_HCurve::DN(const Standard_Real U, const Standard_Integer N) const 
154 {
155   return Curve().DN(U,N);
156 }
157
158 //=======================================================================
159 //function : Resolution
160 //purpose  : 
161 //=======================================================================
162
163  inline Standard_Real Adaptor3d_HCurve::Resolution(const Standard_Real R3d) const 
164 {
165   return Curve().Resolution(R3d);
166 }
167
168 //=======================================================================
169 //function : GetType
170 //purpose  : 
171 //=======================================================================
172
173  inline GeomAbs_CurveType Adaptor3d_HCurve::GetType() const 
174 {
175   return Curve().GetType();
176 }
177
178 //=======================================================================
179 //function : Line
180 //purpose  : 
181 //=======================================================================
182
183  inline gp_Lin Adaptor3d_HCurve::Line() const 
184 {
185   return Curve().Line();
186 }
187
188 //=======================================================================
189 //function : Circle
190 //purpose  : 
191 //=======================================================================
192
193  inline gp_Circ Adaptor3d_HCurve::Circle() const 
194 {
195   return Curve().Circle();
196 }
197
198 //=======================================================================
199 //function : Ellipse
200 //purpose  : 
201 //=======================================================================
202
203  inline gp_Elips Adaptor3d_HCurve::Ellipse() const 
204 {
205   return Curve().Ellipse();
206 }
207
208 //=======================================================================
209 //function : Hyperbola
210 //purpose  : 
211 //=======================================================================
212
213  inline gp_Hypr Adaptor3d_HCurve::Hyperbola() const 
214 {
215   return Curve().Hyperbola();
216 }
217
218 //=======================================================================
219 //function : Parabola
220 //purpose  : 
221 //=======================================================================
222
223  inline gp_Parab Adaptor3d_HCurve::Parabola() const 
224 {
225   return Curve().Parabola();
226 }
227
228 //=======================================================================
229 //function : Degree
230 //purpose  : 
231 //=======================================================================
232
233 inline  Standard_Integer  Adaptor3d_HCurve::Degree() const 
234 {
235    return Curve().Degree() ;
236  }
237 //=======================================================================
238 //function : IsRational
239 //purpose  : 
240 //=======================================================================
241
242 inline  Standard_Boolean  Adaptor3d_HCurve::IsRational() const
243 {
244  return  Curve().IsRational() ;
245
246 //=======================================================================
247 //function : NbPoles
248 //purpose  : 
249 //=======================================================================
250 inline Standard_Integer  Adaptor3d_HCurve::NbPoles() const
251 {
252  return Curve().NbPoles() ;
253 }
254 //=======================================================================
255 //function : NbKnots
256 //purpose  : 
257 //=======================================================================
258
259 inline Standard_Integer  Adaptor3d_HCurve::NbKnots() const
260 {
261  return Curve().NbKnots() ;
262 }
263
264 //=======================================================================
265 //function : Bezier
266 //purpose  : 
267 //=======================================================================
268
269  inline Handle(Geom_BezierCurve) Adaptor3d_HCurve::Bezier() const 
270 {
271   return Curve().Bezier();
272 }
273
274 //=======================================================================
275 //function : BSpline
276 //purpose  : 
277 //=======================================================================
278
279  inline Handle(Geom_BSplineCurve) Adaptor3d_HCurve::BSpline() const 
280 {
281   return Curve().BSpline();
282 }
283