0023024: Update headers of OCCT files
[occt.git] / src / Adaptor3d / Adaptor3d_Curve.cxx
CommitLineData
b311480e 1// Created on: 1993-07-01
2// Created by: Bruno DUMORTIER
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#include <Adaptor3d_Curve.ixx>
23#include <Standard_NotImplemented.hxx>
24
25void Adaptor3d_Curve::Delete()
26{}
27
28//=======================================================================
29//function : FirstParameter
30//purpose :
31//=======================================================================
32
33Standard_Real Adaptor3d_Curve::FirstParameter() const
34{
35 Standard_NotImplemented::Raise("Adaptor3d_Curve::FirstParameter");
36 return 0.;
37}
38
39
40//=======================================================================
41//function : LastParameter
42//purpose :
43//=======================================================================
44
45Standard_Real Adaptor3d_Curve::LastParameter() const
46{
47 Standard_NotImplemented::Raise("Adaptor3d_Curve::LastParameter");
48 return 0.;
49}
50
51
52//=======================================================================
53//function : Continuity
54//purpose :
55//=======================================================================
56
57GeomAbs_Shape Adaptor3d_Curve::Continuity() const
58{
59 Standard_NotImplemented::Raise("Adaptor3d_Curve::Continuity");
60 return GeomAbs_C0;
61}
62
63
64//=======================================================================
65//function : NbIntervals
66//purpose :
67//=======================================================================
68
69//Standard_Integer Adaptor3d_Curve::NbIntervals(const GeomAbs_Shape S) const
70Standard_Integer Adaptor3d_Curve::NbIntervals(const GeomAbs_Shape )
71{
72 Standard_NotImplemented::Raise("Adaptor3d_Curve::NbIntervals");
73 return 0;
74}
75
76
77//=======================================================================
78//function : Intervals
79//purpose :
80//=======================================================================
81
82//void Adaptor3d_Curve::Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const
83void Adaptor3d_Curve::Intervals(TColStd_Array1OfReal& , const GeomAbs_Shape )
84{
85 Standard_NotImplemented::Raise("Adaptor3d_Curve::Intervals");
86}
87
88
89//=======================================================================
90//function : Trim
91//purpose :
92//=======================================================================
93
94//Handle(Adaptor3d_HCurve) Adaptor3d_Curve::Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol) const
95Handle(Adaptor3d_HCurve) Adaptor3d_Curve::Trim(const Standard_Real , const Standard_Real , const Standard_Real ) const
96{
97 Standard_NotImplemented::Raise("Adaptor3d_Curve::Trim");
98 return Handle(Adaptor3d_HCurve)();
99}
100
101
102//=======================================================================
103//function : IsClosed
104//purpose :
105//=======================================================================
106
107Standard_Boolean Adaptor3d_Curve::IsClosed() const
108{
109 Standard_NotImplemented::Raise("Adaptor3d_Curve::IsClosed");
110 return 0;
111}
112
113
114//=======================================================================
115//function : IsPeriodic
116//purpose :
117//=======================================================================
118
119Standard_Boolean Adaptor3d_Curve::IsPeriodic() const
120{
121 Standard_NotImplemented::Raise("Adaptor3d_Curve::IsPeriodic");
122 return 0;
123}
124
125
126//=======================================================================
127//function : Period
128//purpose :
129//=======================================================================
130
131Standard_Real Adaptor3d_Curve::Period() const
132{
133 Standard_NotImplemented::Raise("Adaptor3d_Curve::Period");
134 return 0.;
135}
136
137
138//=======================================================================
139//function : Value
140//purpose :
141//=======================================================================
142
143//gp_Pnt Adaptor3d_Curve::Value(const Standard_Real U) const
144gp_Pnt Adaptor3d_Curve::Value(const Standard_Real ) const
145{
146 Standard_NotImplemented::Raise("Adaptor3d_Curve::Value");
147 return gp_Pnt();
148}
149
150
151//=======================================================================
152//function : D0
153//purpose :
154//=======================================================================
155
156//void Adaptor3d_Curve::D0(const Standard_Real U, gp_Pnt& P) const
157void Adaptor3d_Curve::D0(const Standard_Real , gp_Pnt& ) const
158{
159 Standard_NotImplemented::Raise("Adaptor3d_Curve::D0");
160}
161
162
163//=======================================================================
164//function : D1
165//purpose :
166//=======================================================================
167
168//void Adaptor3d_Curve::D1(const Standard_Real U, gp_Pnt& P, gp_Vec& V) const
169void Adaptor3d_Curve::D1(const Standard_Real , gp_Pnt& , gp_Vec& ) const
170{
171 Standard_NotImplemented::Raise("Adaptor3d_Curve::D1");
172}
173
174
175//=======================================================================
176//function : D2
177//purpose :
178//=======================================================================
179
180//void Adaptor3d_Curve::D2(const Standard_Real U, gp_Pnt& P, gp_Vec& V1, gp_Vec& V2) const
181void Adaptor3d_Curve::D2(const Standard_Real , gp_Pnt& , gp_Vec& , gp_Vec& ) const
182{
183 Standard_NotImplemented::Raise("Adaptor3d_Curve::D2");
184}
185
186
187//=======================================================================
188//function : D3
189//purpose :
190//=======================================================================
191
192//void Adaptor3d_Curve::D3(const Standard_Real U, gp_Pnt& P, gp_Vec& V1, gp_Vec& V2, gp_Vec& V3) const
193void Adaptor3d_Curve::D3(const Standard_Real , gp_Pnt& , gp_Vec& , gp_Vec& , gp_Vec& ) const
194{
195 Standard_NotImplemented::Raise("Adaptor3d_Curve::D3");
196}
197
198
199//=======================================================================
200//function : DN
201//purpose :
202//=======================================================================
203
204//gp_Vec Adaptor3d_Curve::DN(const Standard_Real U, const Standard_Integer N) const
205gp_Vec Adaptor3d_Curve::DN(const Standard_Real , const Standard_Integer ) const
206{
207 Standard_NotImplemented::Raise("Adaptor3d_Curve::DN");
208 return gp_Vec();
209}
210
211
212//=======================================================================
213//function : Resolution
214//purpose :
215//=======================================================================
216
217//Standard_Real Adaptor3d_Curve::Resolution(const Standard_Real R3d) const
218Standard_Real Adaptor3d_Curve::Resolution(const Standard_Real ) const
219{
220 Standard_NotImplemented::Raise("Adaptor3d_Curve::Resolution");
221 return 0.;
222}
223
224
225//=======================================================================
226//function : GetType
227//purpose :
228//=======================================================================
229
230GeomAbs_CurveType Adaptor3d_Curve::GetType() const
231{
232 Standard_NotImplemented::Raise("Adaptor3d_Curve::GetType");
233 return GeomAbs_OtherCurve;
234}
235
236
237//=======================================================================
238//function : Line
239//purpose :
240//=======================================================================
241
242gp_Lin Adaptor3d_Curve::Line() const
243{
244 Standard_NotImplemented::Raise("Adaptor3d_Curve::Line");
245 return gp_Lin();
246}
247
248
249//=======================================================================
250//function : Circle
251//purpose :
252//=======================================================================
253
254gp_Circ Adaptor3d_Curve::Circle() const
255{
256 Standard_NotImplemented::Raise("Adaptor3d_Curve::Circle");
257 return gp_Circ();
258}
259
260
261//=======================================================================
262//function : Ellipse
263//purpose :
264//=======================================================================
265
266gp_Elips Adaptor3d_Curve::Ellipse() const
267{
268 Standard_NotImplemented::Raise("Adaptor3d_Curve::Ellipse");
269 return gp_Elips();
270}
271
272
273//=======================================================================
274//function : Hyperbola
275//purpose :
276//=======================================================================
277
278gp_Hypr Adaptor3d_Curve::Hyperbola() const
279{
280 Standard_NotImplemented::Raise("Adaptor3d_Curve::Hyperbola");
281 return gp_Hypr();
282}
283
284
285//=======================================================================
286//function : Parabola
287//purpose :
288//=======================================================================
289
290gp_Parab Adaptor3d_Curve::Parabola() const
291{
292 Standard_NotImplemented::Raise("Adaptor3d_Curve::Parabola");
293 return gp_Parab();
294}
295
296
297//=======================================================================
298//function : Degree
299//purpose :
300//=======================================================================
301
302Standard_Integer Adaptor3d_Curve::Degree() const
303{
304 Standard_NotImplemented::Raise("Adaptor3d_Curve::Degree");
305 return 0;
306}
307
308
309//=======================================================================
310//function : IsRational
311//purpose :
312//=======================================================================
313
314Standard_Boolean Adaptor3d_Curve::IsRational() const
315{
316 Standard_NotImplemented::Raise("Adaptor3d_Curve::IsRational");
317 return 0;
318}
319
320
321//=======================================================================
322//function : NbPoles
323//purpose :
324//=======================================================================
325
326Standard_Integer Adaptor3d_Curve::NbPoles() const
327{
328 Standard_NotImplemented::Raise("Adaptor3d_Curve::NbPoles");
329 return 0;
330}
331
332
333//=======================================================================
334//function : NbKnots
335//purpose :
336//=======================================================================
337
338Standard_Integer Adaptor3d_Curve::NbKnots() const
339{
340 Standard_NotImplemented::Raise("Adaptor3d_Curve::NbKnots");
341 return 0;
342}
343
344
345//=======================================================================
346//function : Bezier
347//purpose :
348//=======================================================================
349
350Handle(Geom_BezierCurve) Adaptor3d_Curve::Bezier() const
351{
352 Standard_NotImplemented::Raise("Adaptor3d_Curve::Bezier");
353 return Handle(Geom_BezierCurve)();
354}
355
356
357//=======================================================================
358//function : BSpline
359//purpose :
360//=======================================================================
361
362Handle(Geom_BSplineCurve) Adaptor3d_Curve::BSpline() const
363{
364 Standard_NotImplemented::Raise("Adaptor3d_Curve::BSpline");
365 return Handle(Geom_BSplineCurve)();
366}