1 // Created on: 1997-11-21
2 // Created by: Philippe MANGIN
3 // Copyright (c) 1997-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
18 #include <Geom_BSplineSurface.hxx>
19 #include <Geom_Curve.hxx>
20 #include <GeomFill_SectionLaw.hxx>
22 #include <Standard_DomainError.hxx>
23 #include <Standard_NotImplemented.hxx>
24 #include <Standard_OutOfRange.hxx>
25 #include <Standard_Type.hxx>
27 IMPLEMENT_STANDARD_RTTIEXT(GeomFill_SectionLaw,MMgt_TShared)
29 Standard_Boolean GeomFill_SectionLaw::D1(const Standard_Real,TColgp_Array1OfPnt&,TColgp_Array1OfVec&,TColStd_Array1OfReal&,TColStd_Array1OfReal& )
31 Standard_NotImplemented::Raise("GeomFill_SectionLaw::D1");
35 Standard_Boolean GeomFill_SectionLaw::D2(const Standard_Real,TColgp_Array1OfPnt& ,TColgp_Array1OfVec&,TColgp_Array1OfVec&,TColStd_Array1OfReal&,TColStd_Array1OfReal&,TColStd_Array1OfReal&)
37 Standard_NotImplemented::Raise("GeomFill_SectionLaw::D2");
41 Handle(Geom_BSplineSurface) GeomFill_SectionLaw::BSplineSurface() const
43 Handle(Geom_BSplineSurface) BS;
48 void GeomFill_SectionLaw::SetTolerance(const Standard_Real ,const Standard_Real)
53 gp_Pnt GeomFill_SectionLaw::BarycentreOfSurf() const
56 Standard_NotImplemented::Raise("GeomFill_SectionLaw::BarycentreOfSurf");
57 return gp_Pnt(0.0, 0.0, 0.0);
60 void GeomFill_SectionLaw::GetMinimalWeight(TColStd_Array1OfReal&) const
62 Standard_NotImplemented::Raise("GeomFill_SectionLaw::GetMinimalWeight");
65 Standard_Boolean GeomFill_SectionLaw::IsConstant(Standard_Real& Error) const
68 return Standard_False;
71 Handle(Geom_Curve) GeomFill_SectionLaw::ConstantSection() const
74 Standard_DomainError::Raise("GeomFill_SectionLaw::ConstantSection");
78 Standard_Boolean GeomFill_SectionLaw::IsConicalLaw(Standard_Real& Error) const
81 return Standard_False;
84 Handle(Geom_Curve) GeomFill_SectionLaw::
85 CirclSection(const Standard_Real) const
88 Standard_DomainError::Raise("GeomFill_SectionLaw::CirclSection");