b2ae480cab33f6f8bd0aef877d3de4d45240d2e1
[occt.git] / src / Approx / Approx_SweepFunction.cxx
1 // Created on: 1997-06-25
2 // Created by: Philippe MANGIN
3 // Copyright (c) 1997-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License 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.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17
18 #include <Approx_SweepFunction.hxx>
19 #include <gp_Pnt.hxx>
20 #include <Standard_NotImplemented.hxx>
21 #include <Standard_OutOfRange.hxx>
22 #include <Standard_Type.hxx>
23
24 // Standard_Boolean Approx_SweepFunction::D1(const Standard_Real Param,const Standard_Real First,const Standard_Real Last,TColgp_Array1OfPnt& Poles,TColgp_Array1OfVec& DPoles,TColgp_Array1OfPnt2d& Poles2d,TColgp_Array1OfVec2d& DPoles2d,TColStd_Array1OfReal& Weigths,TColStd_Array1OfReal& DWeigths) 
25 Standard_Boolean Approx_SweepFunction::D1(const Standard_Real ,const Standard_Real ,const Standard_Real ,TColgp_Array1OfPnt& ,TColgp_Array1OfVec& ,TColgp_Array1OfPnt2d& ,TColgp_Array1OfVec2d& ,TColStd_Array1OfReal& ,TColStd_Array1OfReal& ) 
26 {
27  Standard_NotImplemented::Raise("Approx_SweepFunction::D1");
28  return Standard_False;
29 }
30
31 // Standard_Boolean Approx_SweepFunction::D2(const Standard_Real Param,const Standard_Real First,const Standard_Real Last,TColgp_Array1OfPnt& Poles,TColgp_Array1OfVec& DPoles,TColgp_Array1OfVec& D2Poles,TColgp_Array1OfPnt2d& Poles2d,TColgp_Array1OfVec2d& DPoles2d,TColgp_Array1OfVec2d& D2Poles2d,TColStd_Array1OfReal& Weigths,TColStd_Array1OfReal& DWeigths,TColStd_Array1OfReal& D2Weigths) 
32  Standard_Boolean Approx_SweepFunction::D2(const Standard_Real ,const Standard_Real ,const Standard_Real ,TColgp_Array1OfPnt& ,TColgp_Array1OfVec& ,TColgp_Array1OfVec& ,TColgp_Array1OfPnt2d& ,TColgp_Array1OfVec2d& ,TColgp_Array1OfVec2d& ,TColStd_Array1OfReal& ,TColStd_Array1OfReal& ,TColStd_Array1OfReal& ) 
33 {
34  Standard_NotImplemented::Raise("Approx_SweepFunction::D2");
35  return Standard_False;
36 }
37
38 // void Approx_SweepFunction::Resolution(const Standard_Integer Index,const Standard_Real Tol,Standard_Real& TolU,Standard_Real& TolV) const
39  void Approx_SweepFunction::Resolution(const Standard_Integer ,const Standard_Real ,Standard_Real& ,Standard_Real& ) const
40 {
41  Standard_NotImplemented::Raise("Approx_SweepFunction::Resolution");  
42 }
43
44  gp_Pnt Approx_SweepFunction::BarycentreOfSurf() const
45 {
46  Standard_NotImplemented::Raise("Approx_SweepFunction::BarycentreOfSurf");
47  return gp_Pnt(0.,0.,0.);
48 }
49
50  Standard_Real Approx_SweepFunction::MaximalSection() const
51 {
52   Standard_NotImplemented::Raise("Approx_SweepFunction::MaximalSection()");
53   return 0;
54 }
55
56 // void Approx_SweepFunction::GetMinimalWeight(TColStd_Array1OfReal& Weigths) const
57  void Approx_SweepFunction::GetMinimalWeight(TColStd_Array1OfReal& ) const
58 {
59  Standard_NotImplemented::Raise("Approx_SweepFunction::GetMinimalWeight");
60 }