0031462: Modeling Algorithms - BOP result depends on the arguments order
[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//
d5f74e42 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
973c2be1 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
42cf5bc1 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>
7fd59977 23
25e59720 24IMPLEMENT_STANDARD_RTTIEXT(Approx_SweepFunction,Standard_Transient)
92efcf78 25
7fd59977 26// 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 27Standard_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 28{
9775fa61 29 throw Standard_NotImplemented("Approx_SweepFunction::D1");
7fd59977 30}
31
32// 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)
33 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& )
34{
9775fa61 35 throw Standard_NotImplemented("Approx_SweepFunction::D2");
7fd59977 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{
9775fa61 41 throw Standard_NotImplemented("Approx_SweepFunction::Resolution");
7fd59977 42}
43
44 gp_Pnt Approx_SweepFunction::BarycentreOfSurf() const
45{
9775fa61 46 throw Standard_NotImplemented("Approx_SweepFunction::BarycentreOfSurf");
7fd59977 47}
48
49 Standard_Real Approx_SweepFunction::MaximalSection() const
50{
9775fa61 51 throw Standard_NotImplemented("Approx_SweepFunction::MaximalSection()");
7fd59977 52}
53
54// void Approx_SweepFunction::GetMinimalWeight(TColStd_Array1OfReal& Weigths) const
55 void Approx_SweepFunction::GetMinimalWeight(TColStd_Array1OfReal& ) const
56{
9775fa61 57 throw Standard_NotImplemented("Approx_SweepFunction::GetMinimalWeight");
7fd59977 58}