0024428: Implementation of LGPL license
[occt.git] / src / Approx / Approx_SweepFunction.cxx
CommitLineData
b311480e 1// Created on: 1997-06-25
2// Created by: Philippe MANGIN
3// Copyright (c) 1997-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 <Approx_SweepFunction.ixx>
18
19// 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)
b311480e 20Standard_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& )
7fd59977 21{
22 Standard_NotImplemented::Raise("Approx_SweepFunction::D1");
23 return Standard_False;
24}
25
26// 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)
27 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& )
28{
29 Standard_NotImplemented::Raise("Approx_SweepFunction::D2");
30 return Standard_False;
31}
32
33// void Approx_SweepFunction::Resolution(const Standard_Integer Index,const Standard_Real Tol,Standard_Real& TolU,Standard_Real& TolV) const
34 void Approx_SweepFunction::Resolution(const Standard_Integer ,const Standard_Real ,Standard_Real& ,Standard_Real& ) const
35{
36 Standard_NotImplemented::Raise("Approx_SweepFunction::Resolution");
37}
38
39 gp_Pnt Approx_SweepFunction::BarycentreOfSurf() const
40{
41 Standard_NotImplemented::Raise("Approx_SweepFunction::BarycentreOfSurf");
42 return gp_Pnt(0.,0.,0.);
43}
44
45 Standard_Real Approx_SweepFunction::MaximalSection() const
46{
47 Standard_NotImplemented::Raise("Approx_SweepFunction::MaximalSection()");
48 return 0;
49}
50
51// void Approx_SweepFunction::GetMinimalWeight(TColStd_Array1OfReal& Weigths) const
52 void Approx_SweepFunction::GetMinimalWeight(TColStd_Array1OfReal& ) const
53{
54 Standard_NotImplemented::Raise("Approx_SweepFunction::GetMinimalWeight");
55}