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